1XtGetResourceList(3) XT FUNCTIONS XtGetResourceList(3)
2
3
4
6 XtGetResourceList, XtGetConstraintResourceList - obtain resource list
7
9 #include <X11/Intrinsic.h>
10
11 void XtGetResourceList(WidgetClass class, XtResourceList
12 *resources_return, Cardinal *num_resources_return);
13
14 void XtGetConstraintResourceList(WidgetClass class, XtResourceList
15 *resources_return, Cardinal *num_resources_return);
16
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
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
45 resources for all superclasses. If the specified class is not a sub‐
46 class of constraintWidgetClass, *resources_return is set to NULL and
47 *num_resources_return is set to zero. The list returned by XtGet‐
48 ConstraintResourceList should be freed using XtFree when it is no
49 longer needed.
50
52 XtGetSubresources(3), XtOffset(3)
53 X Toolkit Intrinsics - C Language Interface
54 Xlib - C Language X Interface
55
56
57
58X Version 11 libXt 1.2.0 XtGetResourceList(3)