XtIsRealized() XtIsRealized()
Name
XtIsRealized - determine whether a widget has been realized.
Synopsis
Boolean XtIsRealized(object)
Widget object;
Inputs
object Specifies 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).
Xt - Object Information XtIsRealized()