Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtunmapwidget(3xt) [osf1 man page]

XtMapWidget(3Xt)														  XtMapWidget(3Xt)

XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget - 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
Specifies a Boolean value that indicates the new value of the map_when_managed field. 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 wid- get is realized and managed and if the new value of map_when_managed is False, it unmaps the window. XtSetMappedWhenManaged is a conve- nience 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(3Xt) X Toolkit Intrinsics -- C Language Interface Xlib -- C Language X Interface XtMapWidget(3Xt)

Check Out this Related Man Page

XtRealizeWidget(3Xt)													      XtRealizeWidget(3Xt)

XtRealizeWidget, XtIsRealized, XtUnrealizeWidget - realize and unrealize widgets SYNOPSIS
void XtRealizeWidget(w) Widget w; Boolean XtIsRealized(w) Widget w; void XtUnrealizeWidget(w) Widget w; ARGUMENTS
Specifies the widget. DESCRIPTION
If the widget is already realized, XtRealizeWidget simply returns. Otherwise, it performs the following: Binds all action names in the wid- get's translation table to procedures (see Section 10.1.2). Makes a post-order traversal of the widget tree rooted at the specified widget and calls the change_managed procedure of each composite widget that has one or more managed children. Constructs an XSetWindowAttributes structure filled in with information derived from the Core widget fields and calls the realize procedure for the widget, which adds any widget-specific attributes and creates the X window. If the widget is not a subclass of compositeWidgetClass, XtRealizeWidget returns; otherwise, it continues and performs the following: Descends recursively to each of the widget's managed children and calls the realize procedures. Primitive widgets that instantiate children are responsible for realizing those children themselves. Maps all of the managed children windows that have mapped_when_managed True. (If a widget is managed but mapped_when_managed is False, the widget is allocated vis- ual space but is not displayed. Some people seem to like this to indicate certain states.) If the widget is a top-level shell widget (that is, it has no parent), and mapped_when_managed is True, XtRealizeWidget maps the widget window. The XtIsRealized function returns True if the widget has been realized, that is, if the widget has a nonzero X window ID. Some widget procedures (for example, set_values) might wish to operate differently after the widget has been realized. The XtUnrealizeWidget function destroys the windows of an existing widget and all of its children (recursively down the widget tree). To recreate the windows at a later time, call XtRealizeWidget again. If the widget was managed, it will be unmanaged automatically before its window is freed. SEE ALSO
XtManageChildren(3Xt) X Toolkit Intrinsics -- C Language Interface Xlib -- C Language X Interface XtRealizeWidget(3Xt)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies