XtSetMappedWhenManaged (3)
Leading comments
Copyright 1993 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and thi...
NAME
XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget - map and unmap widgetsSYNTAX
- int XtMapWidget(Widget w);
- void XtSetMappedWhenManaged(Widget w, Boolean map_when_managed);
- int XtUnmapWidget(Widget w);
ARGUMENTS
- map_when_managed
- Specifies a Boolean value that indicates the new value of the map_when_managed field.
- w
- Specifies the widget.
DESCRIPTION
If the widget is realized and managed and if the new value of map_when_managed is True, XtSetMappedWhenManaged maps the window. If the widget is realized and managed and if the new value of map_when_managed is False, it unmaps the window. XtSetMappedWhenManaged is a convenience function that is equivalent to (but slightly faster than) calling XtSetValues and setting the new value for the mappedWhenManaged resource. As an alternative to using XtSetMappedWhenManaged to control mapping, a client may set mapped_when_managed to False and use XtMapWidget and XtUnmapWidget explicitly.SEE ALSO
XtManageChildren(3)X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface