Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtWindow(1)

NAME

XtIsRealized − determine whether a widget has been realized. 

Synopsis

Boolean XtIsRealized(object)

    Widget object;

Inputs

objectSpecifies the object whose state is to be tested; may be of class Object or any subclass thereof. 

Returns

True if object is realized; False otherwise. 

Description

XtIsRealized() returns True if the specified object (or its nearest widget ancestor) has been realized, and False otherwise.  A widget is realized if it has a nonzero X window ID. 

Usage

XtIsRealized() 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>.  Some widget methods (for example, set_values()) might wish to operate differently depending on whether the widget has been realized.  In particular, no Xlib calls can refer to a widget’s window until the widget is realized. 

See Also

XtWindow(1). 

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

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