XtNameToWidget
NAMESYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
NAME
XtNameToWidget, XtWindowToWidget − translating strings to widgets or widgets to windows
SYNTAX
Widget XtNameToWidget(Widget reference, String names); |
||
Widget XtWindowToWidget(Display *display, Window window); |
ARGUMENTS
display |
Specifies the display on which the window is defined. | ||
names |
Specifies the fully qualified name of the desired widget. | ||
reference |
Specifies the widget from which the search is to start. | ||
window |
Specify the window for which you want the widget. |
DESCRIPTION
The XtNameToWidget function looks for a widget whose name is the first component in the specified names and that is a pop-up child of reference (or a normal child if reference is a subclass of compositeWidgetClass). It then uses that widget as the new reference and repeats the search after deleting the first component from the specified names. If it cannot find the specified widget, XtNameToWidget returns NULL.
Note that the names argument contains the name of a widget with respect to the specified reference widget and can contain more than one widget name (separated by periods) for widgets that are not direct children of the specified reference widget.
If more than one child of the reference widget matches the name, XtNameToWidget can return any of the children. The Intrinsics do not require that all children of a widget have unique names. If the specified names contain more than one component and if more than one child matches the first component, XtNameToWidget can return NULL if the single branch that it follows does not contain the named widget. That is, XtNameToWidget does not back up and follow other matching branches of the widget tree.
The XtWindowToWidget function translates the specified window and display pointer into the appropriate widget instance.
SEE ALSO
X Toolkit
Intrinsics − C Language Interface
Xlib − C Language X Interface
More Linux Commands
manpages/gnutls_hash_output.3.html
gnutls_hash_output(3) - API function - Linux manual page....
This function will output the current hash value. SINCE 2.10.0 REPORTING BUGS Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software
manpages/XtCloseDisplay.3.html
XtCloseDisplay(3) - initialize, open, or close a display....
The XtDisplayInitialize function builds the resource database, calls the Xlib XrmParseCommand function to parse the command line, and performs other per display
manpages/cpowl.3.html
cpowl(3) - complex power function - Linux manual page.......
The function calculates x raised to the power z. (With a branch cut for x along the negative real axis.) VERSIONS These functions first appeared in glibc in ver
manpages/be32toh.3.html
be32toh(3) - convert values between host and big-/little-end
These functions convert the byte encoding of integer values from the byte order that the current CPU (the host) uses, to and from little-endian and big-endian b
manpages/fstatfs.2.html
fstatfs(2) - get file system statistics - Linux manual page
The function statfs() returns information about a mounted filesystem. path is the pathname of any file within the mounted filesystem. buf is a pointer to a stat
manpages/getservbyport.3.html
getservbyport(3) - get service entry - Linux manual page....
The getservent() function reads the next entry from the services database (see services(5)) and returns a servent structure containing the broken-out fields fro
manpages/Tk_QueueWindowEvent.3.html
Tk_QueueWindowEvent(3) - Add a window event to the Tcl event
Tk_QueueWindowEvent places a window event on Tcls internal event queue for eventual servicing. It creates a Tcl_Event structure, copies the event into that stru
manpages/fax2tiff.1.html
fax2tiff(1) create a TIFF Class F fax file from raw fax data
Fax2tiff creates a TIFF file containing CCITT Group 3 or Group 4 encoded data from one or more files containing raw Group 3 or Group 4 encoded data (typically o
manpages/lvdisplay.8.html
lvdisplay(8) - display attributes of a logical volume.......
lvdisplay allows you to see the attributes of a logical volume like size, read/write status, snapshot information etc. lvs(8) is an alternative that provides th
manpages/clog2f.3.html
clog2f(3) - base-2 logarithm of a complex number (Man Page)
The call clog2(z) is equivalent to clog(z)/log(2). The other functions perform the same task for float and long double. Note that z close to zero will cause an
manpages/mkstemps.3.html
mkstemps(3) - create a unique temporary file (Man Page).....
The mkstemp() function generates a unique temporary filename from template, creates and opens the file, and returns an open file descriptor for the file. The la
manpages/encode_keychange.1.html
encode_keychange(1) - produce the KeyChange string for SNMPv
encode_keychange produces a KeyChange string using the old and new passphrases as described in Section 5 of RFC 2274 User-based Security Model (USM) for version
