1XtGetSubresources(3) XT FUNCTIONS XtGetSubresources(3)
2
3
4
6 XtGetSubresources, XtVaGetSubresources - obtain subresources
7
9 #include <X11/Intrinsic.h>
10
11 void XtGetSubresources(Widget w, XtPointer base, const char *name,
12 const char * class, XtResourceList resources, Cardinal
13 num_resources, ArgList args, Cardinal num_args);
14
15 void XtVaGetSubresources(Widget w, XtPointer base, const char *name,
16 const char *class, XtResourceList resources, Cardinal
17 num_resources, ...);
18
20 args Specifies the argument list to override resources obtained
21 from the resource database.
22
23 base Specifies the base address of the subpart data structure
24 where the resources should be written.
25
26 class Specifies the class of the subpart.
27
28 name Specifies the name of the subpart.
29
30 num_args Specifies the number of arguments in the argument list.
31
32 num_resources
33 Specifies the number of resources in the resource list.
34
35 resources Specifies the resource list for the subpart.
36
37 w Specifies the widget that wants resources for a subpart or
38 that identifies the resource database to search.
39
40 ... Specifies the variable arguments to override resources
41 obtained from the resource database.
42
44 The XtGetSubresources function constructs a name/class list from the
45 application name/class, the name/classes of all its ancestors, and the
46 widget itself. Then, it appends to this list the name/class pair
47 passed in. The resources are fetched from the argument list, the
48 resource database, or the default values in the resource list. Then,
49 they are copied into the subpart record. If args is NULL, num_args
50 must be zero. However, if num_args is zero, the argument list is not
51 referenced.
52
54 XtGetApplicationResources, XtVaGetApplicationResources
55 X Toolkit Intrinsics - C Language Interface
56 Xlib - C Language X Interface
57
58
59
60X Version 11 libXt 1.2.0 XtGetSubresources(3)