XtRealizeWidget
NAMESYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
NAME
XtRealizeWidget, XtIsRealized, XtUnrealizeWidget − realize and unrealize widgets
SYNTAX
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 simply returns. Otherwise, it performs the following:
• |
Binds all action names in the widget’s translation table to procedures (see Section 10.1.2). | ||
• |
Makes a post-order traversal of the widget tree rooted at the specified widget and calls the change_managed procedure of each composite widget that has one or more managed children. | ||
• |
Constructs an XSetWindowAttributes structure filled in with information derived from the Core widget fields and calls the realize procedure for the widget, which adds any widget-specific attributes and creates the X window. | ||
• |
If the widget is not a subclass of compositeWidgetClass, XtRealizeWidget returns; otherwise, it continues and performs the following: |
−
Descends recursively to each of the widget’s managed children and calls the realize procedures. Primitive widgets that instantiate children are responsible for realizing those children themselves. | |||
− |
Maps all of the managed children windows that have mapped_when_managed True. (If a widget is managed but mapped_when_managed is False, the widget is allocated visual space but is not displayed. Some people seem to like this to indicate certain states.) |
If the widget is a top-level shell widget (that is, it has no parent), and mapped_when_managed is True, XtRealizeWidget maps the widget window.
The XtIsRealized 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 wish to operate differently after the widget has been realized.
The XtUnrealizeWidget 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 again. If the widget was managed, it will be unmanaged automatically before its window is freed.
SEE ALSO
XtManageChildren(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface
More Linux Commands
manpages/set_mempolicy.2.html
set_mempolicy(2) - set default NUMA memory policy for a proc
set_mempolicy() sets the NUMA memory policy of the calling process, which consists of a policy mode and zero or more nodes, to the values specified by the mode,
manpages/acl_get_qualifier.3.html
acl_get_qualifier(3) - retrieve the qualifier from an ACL en
The acl_get_qualifier() function retrieves the qualifier from the ACL entry indicated by the argument entry_d into working storage and returns a pointer to that
manpages/nmcli.1.html
nmcli(1) - command-line tool for controlling NetworkManager
nmcli is a command-line tool for controlling NetworkManager and reporting network status. It can be utilized as a replacement for nm-applet or other graphical c
manpages/mvwaddnstr.3ncurses.html
mvwaddstr(3ncurses) - add a string of characters to a curses
These functions write the (null-terminated) character string str on the given window. It is similar to calling waddch once for each character in the string. The
manpages/Tcl_Gets.3.html
Tcl_Gets(3) - buffered I/O facilities using channels........
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f
manpages/pam_acct_mgmt.3.html
pam_acct_mgmt(3) - PAM account validation management........
The pam_acct_mgmt function is used to determine if the users account is valid. It checks for authentication token and account expiration and verifies access res
manpages/autoconf.1.html
autoconf(1) - Generate configuration scripts (Man Page).....
Generate a configuration script from a TEMPLATE-FILE if given, or configure.ac if present, or else configure.in. Output is sent to the standard output if TEMPLA
manpages/systemd-localed.service.8.html
systemd-localed.service(8) Locale bus mechanism (Man Page)
systemd-localed is a system service that may be used as mechanism to change the system locale settings, as well as the console key mapping and default X11 key m
manpages/pthread_attr_init.3.html
pthread_attr_init(3) - initialize and destroy thread attribu
The pthread_attr_init() function initializes the thread attributes object pointed to by attr with default attribute values. After this call, individual attribut
manpages/clnt_call.3.html
clnt_call(3) - library routines for remote procedure calls
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s
manpages/setup.2.html
setup(2) - setup devices and file systems, mount root file s
setup() is called once from within linux/init/main.c. It calls initialization functions for devices and filesystems configured into the kernel and then mounts t
manpages/Tcl_UniCharToLower.3.html
Tcl_UniCharToLower(3) - routines for manipulating the case o
The first three routines convert the case of individual Unicode characters: If ch represents a lower-case character, Tcl_UniCharToUpper returns the correspondin
