XtRealizeWidget()

NAME

XtRealizeWidget(), XtIsRealized(), XtUnrealizeWidget() - realize and unrealize widgets

SYNOPSIS

void XtRealizeWidget (Widget w)
Boolean XtIsRealized (Widget w)
void XtUnrealizeWidget (Widget w)

ARGUMENTS

w
Specifies the widget.

DESCRIPTION

If the widget is already realized, XtRealizeWidget(3) simply returns. Otherwise, it performs the following:

If the widget is a top-level shell widget (that is, it has no parent), and mapped_when_managed is True, XtRealizeWidget(3) maps the widget window.

The XtIsRealized(3) function returns True if the widget has been realized, that is, if the widget has a nonzero X window ID.

Some widget procedures (for example, set_values) might tend to operate differently after the widget has been realized.

The XtUnrealizeWidget(3) function destroys the windows of an existing widget and all of its children (recursively down the widget tree). To recreate the windows at a later time, call XtRealizeWidget(3) again. If the widget was managed, it will be unmanaged automatically before its window is freed.

SEE ALSO

XtManageChildren()

X Toolkit Intrinsics - C Language Interface

Xlib - C Language X Interface