1XtAppSetFallbackResources(3) XT FUNCTIONS XtAppSetFallbackResources(3)
2
3
4
6 XtAppSetFallbackResources - set fallback resources
7
9 #include <X11/Intrinsic.h>
10
11 void XtAppSetFallbackResources(XtAppContext app_context, String* speci‐
12 fication_list);
13
15 app_context
16 Specifies the application context.
17
18 specification_list
19 Specifies a NULL-terminated list of resource specifications
20 to pre-load the database, or NULL.
21
23 Each entry in specification_list points to a string in the format Xrm‐
24 PutLineResource. following a call to XtAppSetFallbackResources, when a
25 resource database is being created for a particular screen and the
26 Intrinsics are not able to find or read an application-specific class
27 resource file and if specification_list is not NULL the resource speci‐
28 fication in specification_list will be merged into the screen resource
29 database in place of the application-specific class resource file.
30 XtAppSetFallbackResources is not required to copy specification_list;
31 the caller must ensure that the contents of the list and the strings
32 addressed by the list remain valid until all displays are initialized
33 or until XtAppSetFallbackResources is called again. The value NULL for
34 specification_list removes any previous fallback resource specification
35 for the application context. The intended use for fallback resources
36 is to provide a minimal number of resources that will make the applica‐
37 tion usable (or at least terminate with helpful diagnostic messages)
38 when some problem exists in finding and loading the application
39 defaults file.
40
42 X Toolkit Intrinsics - C Language Interface
43 Xlib - C Language X Interface
44
45
46
47X Version 11 libXt 1.2.0 XtAppSetFallbackResources(3)