Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtScreen(3x) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtDisplay(1)

XtScreenOfObject(1)

XtWindow(1)

 

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

XtDisplay(1), XtScreenOfObject(1), XtWindow(1). 

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

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