XtScreenOfObject()XtScreenOfObject()NameXtScreenOfObject - return the screen pointer of a non-widget object.
Synopsis
Screen *XtScreenOfObject(object)
Widget object;
Inputs
object Specifies the object; may be of class Object or any subclass
thereof.
Returns
The screen of object, or if its nearest widget ancestor.
Availability
Release 4 and later.
DescriptionXtScreenOfObject() is identical in function to XtScreen() if the object
is a widget; otherwise XtScreenOfObject() returns the screen pointer
for the nearest ancestor of object that is of class Core.
Usage
If you are working with windowed objects, use XtScreen() rather than
XtScreenOfObject(). XtScreen() may be implemented as an efficient
macro for widget code that includes the file <X11/IntrinsicP.h>.
See AlsoXtDisplayOfObject(1), XtScreen(1), XtWindowOfObject(1).
Xt - Object Information XtScreenOfObject()