XtWindow() XtWindow()
Name
XtWindow - 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.
Description
XtWindow() 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.
Usage
XtWindow() is implemented as a function when called from application code, but is replaced by a more efficient macro when called from wid-
get 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 Also
XtDisplay(1), XtScreen(1), XtWindowOfObject(1), XtWindowToWidget(1).
Xt - Object Information XtWindow()