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

DESCRIPTION

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

SEE ALSO

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