1XtGetApplicationResources(3)     XT FUNCTIONS     XtGetApplicationResources(3)
2
3
4

NAME

6       XtGetApplicationResources, XtVaGetApplicationResources - obtain appli‐
7       cation resources
8

SYNTAX

10       void XtGetApplicationResources(Widget w, XtPointer base, XtResourceList
11              resources, Cardinal num_resources, ArgList args, Cardinal
12              num_args);
13
14       void XtVaGetApplicationResources(Widget w, XtPointer base, XtRe‐
15              sourceList resources, Cardinal num_resources, ...);
16

ARGUMENTS

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

DESCRIPTION

38       The XtGetApplicationResources function first uses the passed widget,
39       which is usually an application shell, to construct a resource name and
40       class list, Then, it retrieves the resources from the argument list,
41       the resource database, or the resource list default values.  After
42       adding base to each address, XtGetApplicationResources copies the
43       resources into the address given in the resource list.  If args is
44       NULL, num_args must be zero.  However, if num_args is zero, the argu‐
45       ment list is not referenced.  The portable way to specify application
46       resources is to declare them as members of a structure and pass the
47       address of the structure as the base argument.
48

SEE ALSO

50       X Toolkit Intrinsics - C Language Interface
51       Xlib - C Language X Interface
52
53
54
55X Version 11                      libXt 1.1.5     XtGetApplicationResources(3)
Impressum