Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtScreenOfObject(1)

XtWindowOfObject(1)

NAME

XtDisplayOfObject − return the display pointer for the nearest ancestor of object that is of class Core. 

Synopsis

Display *XtDisplayOfObject(object)

      Widget object;

Inputs

objectSpecifies the object; may be of class Object or any subclass thereof. 

Returns

The display of object or of its nearest widget ancestor. 

Availability

Release 4 and later. 

Description

XtDisplayOfObject() is identical in function to XtDisplay() if the object is a widget; otherwise XtDisplayOfObject() returns the display pointer for the nearest ancestor of object that is of class Core. 

Usage

If you are working with windowed objects, use XtDisplay() rather than XtDisplayOfObject().  XtDisplay() may be implemented as an efficient macro for widget code that includes the file <X11/IntrinsicP.h>. 

See Also

XtScreenOfObject(1), XtWindowOfObject(1). 

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

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