X Version 11 (Release 6.1)

XmuWnFetchResources(X3xmu)


XmuWnFetchResources -- obtain widget class resources

Synopsis

cc . . . -lXmu

#include <X11/Xmu/WidgetNode.h>

void XmuWnFetchResources(node, toplevel, top_node) XmuWidgetNode *node; Widget toplevel; XrmValuePtr *top_node;

Arguments


node
Specifies the widget class for which resources should be obtained.

toplevel
Specifies the widget that should be used for creating an instance of node from which resources are extracted. This is typically the value returned by XtAppInitialize.

top_node
Specifies the ancestor of node that should be treated as the root of the widget inheritance tree (used in determining which ancestor contributed which resources).

Description

The XmuWnFetchResources function is used to determine the resources provided by a widget class or classes.

The XmuWnFetchResources, XmuWnCountOwnedResources, 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 function XmuWnInitializeNodes must be called before XmuWnFetchResources is used.

References

XmuWnCountOwnedResources(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