XtScreen() XtScreen()
Name
XtScreen - return the screen pointer for the specified widget.
Synopsis
Screen *XtScreen(w)
Widget w;
Inputs
w Specifies the widget; must be of class Core or any subclass thereof.
Returns
The screen pointer for w.
Description
XtScreen() returns a pointer to the Screen structure of the screen the specified widget is on.
Usage
XtScreen() is implemented as a function when called from application code, but is replaced by a more efficient macro when called from wid-
get code including the file <X11/IntrinsicP.h>.
Use XtScreenOfObject() to return the display of a widget or the nearest widget ancestor of a non-widget object.
See Also
XtDisplay(1), XtScreenOfObject(1), XtWindow(1).
Xt - Object Information XtScreen()