NAME
XtWindow − return the window of the specified widget.
SYNOPSIS
Window XtWindow(w)
Widget w;
Inputs
wSpecifies 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 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 ALSO
XtDisplayUNIX SYSTEM V/68, XtScreenUNIX SYSTEM V/68, XtWindowOfObjectUNIX SYSTEM V/68, XtWindowToWidgetUNIX SYSTEM V/68.