1XtGetSubresources(3x)            XT FUNCTIONS            XtGetSubresources(3x)
2
3
4

NAME

6       XtGetSubresources, XtVaGetSubresources - obtain subresources
7

SYNTAX

9       void XtGetSubresources(Widget w, XtPointer base, String name, String
10              class, XtResourceList resources, Cardinal num_resources, ArgList
11              args, Cardinal num_args);
12
13       void XtVaGetSubresources(Widget w, XtPointer base, String name, String
14              class, XtResourceList resources, Cardinal num_resources);
15

ARGUMENTS

17       args      Specifies the argument list to override resources obtained
18                 from the resource database.
19
20       base      Specifies the base address of the subpart data structure
21                 where the resources should be written.
22
23       class     Specifies the class of the subpart.
24
25       name      Specifies the name of the subpart.
26
27       num_args  Specifies the number of arguments in the argument list.
28
29       num_resources
30                 Specifies the number of resources in the resource list.
31
32       resources Specifies the resource list for the subpart.
33
34
35       w         Specifies the widget that wants resources for a subpart or
36                 that identifies the resource database to search.
37
38       ...       Specifies the variable arguments to override resources
39                 obtained from the resource database.
40

DESCRIPTION

42       The XtGetSubresources function constructs a name/class list from the
43       application name/class, the name/classes of all its ancestors, and the
44       widget itself.  Then, it appends to this list the name/class pair
45       passed in.  The resources are fetched from the argument list, the
46       resource database, or the default values in the resource list.  Then,
47       they are copied into the subpart record.  If args is NULL, num_args
48       must be zero.  However, if num_args is zero, the argument list is not
49       referenced.
50

SEE ALSO

52       XtGetApplicationResources, XtVaGetApplicationResources
53       X Toolkit Intrinsics - C Language Interface
54       Xlib - C Language X Interface
55
56
57
58X Version 11                      libXt 1.0.4            XtGetSubresources(3x)
Impressum