NAME
XmuWnCountOwnedResources — determine the number of resources that a widget class
inherits from one of its superclasses.
SYNOPSIS
#include <X11/Xmu/WidgetNode.h>
int XmuWnCountOwnedResources(node, owner_node, constraints)
XmuWidgetNode ∗node;
XmuWidgetNode ∗owner_node;
Bool constraints;
Inputs
nodeSpecifies the widget class whose resources are being examined.
owner_node
Specifies the superclass of node that is to have its resources counted.
constraints
Specifies whether constraint resources or normal resources should be counted.
Returns
The number of resources of node that are inherited from owner_node.
AVAILABILITY
Release 5 and later.
DESCRIPTION
This function returns the number of resources of the widget class node which are contributed or owned by the superclass owner_node. If constraints is False, XmuCountOwnedResources counts normal resources; otherwise it counts constraint resources. node and owner_node must have been passed to XmuWnInitializeNodes() before being used in this function, and node must have been passed to XmuWnFetchResources().
USAGE
The XmuWn functions were developed for the specific needs of the viewres client, and may not be of general utility.
SEE ALSO
XmuWnFetchResources(6), XmuWnInitializeNodes(6), XmuWnNameToNode(6).