XtWindow()XtWindow()NameXtWindow - return the window of the specified widget.
Synopsis
Window XtWindow(w)
Widget w;
Inputs
w Specifies the widget. Must be of class Core or any subclass
thereof.
Returns
The window of w.
DescriptionXtWindow() returns the window of the specified widget. Note that the
window is obtained from the Core window field, which may be NULL if the
widget has not yet been realized.
UsageXtWindow() is implemented as a function when called from application
code, but is replaced by a more efficient macro when called from widget
code that includes the file <X11/IntrinsicP.h>.
Use XtWindowOfObject() to return the window of a widget or the nearest
widget ancestor of a non-widget object.
See AlsoXtDisplay(1), XtScreen(1), XtWindowOfObject(1), XtWindowToWidget(1).
Xt - Object Information XtWindow()