hpux man page for xtunrealizewidget

Query: xtunrealizewidget

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XtUnrealizeWidget()													       XtUnrealizeWidget()

Name
  XtUnrealizeWidget - destroy the windows associated with a widget and its descendants.

Synopsis
  void XtUnrealizeWidget(w)
	 Widget w;

Inputs
  w	    Specifies the widget.  Must be of class Core or any subclass thereof.

Description
  XtUnrealizeWidget()  unmanages  the  specified  widget and destroys the windows associated with the widget and all of its non-popup descen-
  dants.

  The "Algorithm" section below explains the details of this process.

Usage
  Note that this call simply destroys the windows associated with the widgets.	The widget instances themselves remain intact.	 To  recreate
  the windows at a later time, call XtRealizeWidget() again.  Compare this to XtDestroyWidget(), which destroys the widgets themselves.

  Unmanaging  a  widget  is  the  usual method for temporarily removing it from the screen.  Unrealizing a widget frees up resources on the X
  server, and may be a better choice for widgets that are only infrequently visible.

Algorithm
  If the widget is currently unrealized, XtUnrealizeWidget() simply returns; otherwise, it performs the following:

  o  Unmanages the widget if the widget is managed.

  o  Makes a post-order (child to parent) traversal of the widget tree rooted at the specified widget and, for each widget that has  declared
     a callback list named unrealizeCallback, executes the procedures on the XtNunrealizeCallback list.

  o  Destroys the widget's window and any subwindows by calling XDestroyWindow() on the specified widget's window.

  Any  events  that  are either in the queue or that arrive following a call to XtUnrealizeWidget() will be dispatched as if the window(s) of
  the unrealized widget(s) had never existed.

See Also
  XtDestroyWidget(1), XtRealizeWidget(1), XtUnmanageWidget(1).

Xt - Widget Lifecycle													       XtUnrealizeWidget()
Related Man Pages
xtunrealizewidget(3) - debian
xtrealizewidget(3) - centos
xtunrealizewidget(3) - centos
xtisrealized(3) - suse
xtunrealizewidget(3) - linux
Similar Topics in the Unix Linux Community
reading unix file system from windows
problem to remove widget