NAME
XtScreen − return the screen pointer for the specified widget.
SYNOPSIS
Screen ∗XtScreen(w)
Widget w;
Inputs
wSpecifies 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 widget code that includes 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
XtDisplayUNIX SYSTEM V/68, XtScreenOfObjectUNIX SYSTEM V/68, XtWindowUNIX SYSTEM V/68.