XtMapWidget(X3xt) X Version 11 (Release 6.1)
XtMapWidget --
map and unmap widgets
Synopsis
XtMapWidget(w)
Widget w;
void XtSetMappedWhenManaged(w, map_when_managed)
Widget w;
Boolean map_when_managed;
XtUnmapWidget(w)
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.
References
XtManageChildren(X3xt),
XtSetValues(X3xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.