XmuWnCountOwnedResources(X3xmu) X Version 11 (Release 6.1)
XmuWnCountOwnedResources --
count widget resources
Synopsis
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 examined.
- owner_node
-
Specifies the widget class of the ancestor of node whose
contributions 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 XmuWnCountOwnedResources function is used to
count the number of resources contributed 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
XmuWnCountOwnedResources.
References
XmuWnFetchResources(X3xmu),
XmuWnInitializeNodes(X3xmu),
XmuWnNameToNode(X3xmu)
Xlib - C Language X Interface
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.