X Version 11 (Release 6.1)

XmuWnCountOwnedResources(X3xmu)


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


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