Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtScreenOfO(3x) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtDisplayOfObject(1)

XtScreen(1)

XtWindowOfObject(1)

 

NAME

XtScreenOfObject − return the screen pointer of a non-widget object. 

Synopsis

Screen *XtScreenOfObject(object)

      Widget object;

Inputs

objectSpecifies 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. 

Description

XtScreenOfObject() 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 Also

XtDisplayOfObject(1), XtScreen(1), XtWindowOfObject(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026