XtUnrealizeWidget man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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  infre‐
  quently visible.

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

  ·  Unmanages the widget if the widget is managed.

  ·  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  pro‐
     cedures on the XtNunrealizeCallback list.

  ·  Destroys the widget's window and any subwindows by calling XDestroy‐
     Window() 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()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net