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