Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtunrealizewidget(1) [hpux man page]

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()

Check Out this Related Man Page

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()
Man Page