1XtGetSubresources(3)             XT FUNCTIONS             XtGetSubresources(3)
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       w         Specifies the widget that wants resources for a subpart or
35                 that identifies the resource database to search.
36
37       ...       Specifies the variable arguments to override resources
38                 obtained from the resource database.
39

DESCRIPTION

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

SEE ALSO

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