1XtGetResourceList(3)             XT FUNCTIONS             XtGetResourceList(3)
2
3
4

NAME

6       XtGetResourceList, XtGetConstraintResourceList - obtain resource list
7

SYNTAX

9       #include <X11/Intrinsic.h>
10
11       void XtGetResourceList(WidgetClass class, XtResourceList *resources_re‐
12              turn, Cardinal *num_resources_return);
13
14       void XtGetConstraintResourceList(WidgetClass class, XtResourceList *re‐
15              sources_return, Cardinal *num_resources_return);
16

ARGUMENTS

18       num_resources_return
19                 Specifies a pointer to where to store the number of entries
20                 in the resource list.
21
22       resources_return
23                 Specifies a pointer to where to store the returned resource
24                 list.  The caller must free this storage using XtFree when
25                 done with it.
26
27       widget_class
28                 Specifies the widget class for which you want the list.
29

DESCRIPTION

31       If XtGetResourceList is called before the widget class is initialized
32       (that is, before the first widget of that class has been created),
33       XtGetResourceList returns the resource list as specified in the widget
34       class record.  If it is called after the widget class has been initial‐
35       ized, XtGetResourceList returns a merged resource list that contains
36       the resources for all superclasses.  The list returned by XtGet‐
37       ResourceList should be freed using XtFree when it is no longer needed.
38
39       If XtGetConstraintResourceList is called before the widget class is
40       initialized (that is, before the first widget of that class has been
41       created), XtGetConstraintResourceList returns the resource list as
42       specified in the widget class Constraint part record.  If it is called
43       after the widget class has been initialized, XtGetConstraintResource‐
44       List returns a merged resource list that contains the Constraint re‐
45       sources for all superclasses.  If the specified class is not a subclass
46       of constraintWidgetClass, *resources_return is set to NULL and *num_re‐
47       sources_return is set to zero.  The list returned by XtGetConstraint‐
48       ResourceList should be freed using XtFree when it is no longer needed.
49

SEE ALSO

51       XtGetSubresources(3), XtOffset(3)
52       X Toolkit Intrinsics - C Language Interface
53       Xlib - C Language X Interface
54
55
56
57X Version 11                      libXt 1.2.1             XtGetResourceList(3)
Impressum