1XtGetResourceList(3) XT FUNCTIONS XtGetResourceList(3)
2
3
4
6 XtGetResourceList, XtGetConstraintResourceList - obtain resource list
7
9 void XtGetResourceList(WidgetClass class, XtResourceList
10 *resources_return, Cardinal *num_resources_return);
11
12 void XtGetConstraintResourceList(WidgetClass class, XtResourceList
13 *resources_return, Cardinal *num_resources_return);
14
16 num_resources_return
17 Specifies a pointer to where to store the number of entries
18 in the resource list.
19
20 resources_return
21 Specifies a pointer to where to store the returned resource
22 list. The caller must free this storage using XtFree when
23 done with it.
24
25 widget_class
26 Specifies the widget class.
27
29 If XtGetResourceList is called before the widget class is initialized
30 (that is, before the first widget of that class has been created),
31 XtGetResourceList returns the resource list as specified in the widget
32 class record. If it is called after the widget class has been initial‐
33 ized, XtGetResourceList returns a merged resource list that contains
34 the resources for all superclasses. The list returned by XtGetResource‐
35 List should be freed using XtFree when it is no longer needed.
36
37 If XtGetConstraintResourceList is called before the widget class is
38 initialized (that is, before the first widget of that class has been
39 created), XtGetConstraintResourceList returns the resource list as
40 specified in the widget class Constraint part record. If it is called
41 after the widget class has been initialized, XtGetConstraintResource‐
42 List returns a merged resource list that contains the Constraint
43 resources for all superclasses. If the specified class is not a sub‐
44 class of constraintWidgetClass, *resources_return is set to NULL and
45 *num_resources_return is set to zero. The list returned by XtGet‐
46 ConstraintResourceList should be freed using XtFree when it is no
47 longer needed.
48
50 XtGetSubresources(3), XtOffset(3)
51 X Toolkit Intrinsics - C Language Interface
52 Xlib - C Language X Interface
53
54
55
56X Version 11 libXt 1.1.5 XtGetResourceList(3)