XmuWnCountOwnedResources(Xmu) 6 January 1993 XmuWnCountOwnedResources(Xmu)
X Version 11 (Release 5)
Name
XmuWnCountOwnedResources - count widget resources
Syntax
cc . . . -lXmu
#include <X11/Xmu/WidgetNode.h>
void XmuWnCountOwnedResources(node, owner_node, constraints)
XmuWidgetNode *node;
XmuWidgetNode *owner_node;
Bool constraints;
Arguments
node Specifies the widget class whose resources are being exam-
ined.
ownernode Specifies the widget class of the ancestor of node whose con-
tributions are being counted.
constraints Specifies whether or not to count constraint resources or
normal resources.
Description
Each widget class inherits the resources of its parent. The XmuWnCoun-
tOwnedResources function is used to count the number of resources contri-
buted by a particular widget class.
The XmuWnCountOwnedResources, XmuWnFetchResources, XmuWidgetNode, 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 XmuWnInitializeNodes function must be called before using XmuWnCoun-
tOwnedResources.
See also
XmuWnFetchResources(Xmu), XmuWnInitializeNodes(Xmu), XmuWnNameToNode(Xmu)
Xlib - C Language X Interface