Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtDisplay(1)

XtScreen(1)

XtWindowOfObject(1)

XtWindowToWidget(1)

 

NAME

XtWindow − return the window of the specified widget. 

Synopsis

Window XtWindow(w)

    Widget w;

Inputs

wSpecifies the widget.  Must be of class Core or any subclass thereof. 

Returns

The window of w. 

Description

XtWindow() returns the window of the specified widget.  Note that the window is obtained from the Core window field, which may be NULL if the widget has not yet been realized. 

Usage

XtWindow() 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 XtWindowOfObject() to return the window of a widget or the nearest widget ancestor of a non-widget object. 

See Also

XtDisplay(1), XtScreen(1), XtWindowOfObject(1), XtWindowToWidget(1). 

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

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