DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
X Version 11 (Release 6.1)

XmuWnNameToNode(X3xmu)


XmuWnNameToNode -- obtain number of resources owned by widget

Synopsis

cc . . . -lXmu

#include <X11/Xmu/WidgetNode.h>

void XmuWidgetNode *XmuWnNameToNode(node_list, num_nodes, name) XWidgetNode *node_list; int num_nodes; char *name;

Arguments


node_list
Specifies a list of widget nodes.

num_nodes
Specifies the number of nodes in the list.

name
Specifies the name of the widget class in the node list to search for.

Description

The XmuWnNameToNode function returns the WidgetNode in the list that matches the given widget name or widget class name. If no match is found, it returns NULL.

The XmuWnNameToNode, XmuWnCountOwnedResources, XmuWnFetchResources, and XmuWnInitializeNodes functions are used for building a description of the structure of and resources associated with a hierarchy of widget classes. These functions are typically used by applications that manipulate the widget set itself.


NOTE: The function XmuWnInitializeNodes must be called before XmuWnNameToNode is used.

References

XmuWnCountOwnedResources(X3xmu), XmuWnFetchResources(X3xmu), XmuWnInitializeNodes(X3xmu)
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004