XT FUNCTIONS XtAppSetFallbackResources(3xt)
NAME
XtAppSetFallbackResources - set fallback resources
SYNTAXcc [ flag... ] file... -lXt [ library... ]
void XtAppSetFallbackResources(XtAppContext app_context,
String* specification_list);
ARGUMENTSapp_context
Specifies the application context.specification_list
Specifies a NULL-terminated list of resource
specifications to pre-load the database, or NULL.
DESCRIPTION
Each entry in specification_list points to a string in the
format XrmPutLineResource. following a call to XtAppSet-
FallbackResources, when a resource database is being created for a particular screen and the Intrinsics are not able tofind or read an application-specific class resource file and
if specification_list is not NULL the resource specification
in specification_list will be merged into the screen
resource database in place of the application-specific class
resource file. XtAppSetFallbackResources is not required to
copy specification_list; the caller must ensure that the
contents of the list and the strings addressed by the list remain valid until all displays are initialized or untilXtAppSetFallbackResources is called again. The value NULL
for specification_list removes any previous fallback
resource specification for the application context. The intended use for fallback resources is to provide a minimal number of resources that will make the application usable (or at least terminate with helpful diagnostic messages)when some problem exists in finding and loading the applica-
tion defaults file.SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes: X Version 11 Last change: libXt 1.0.8 1XT FUNCTIONS XtAppSetFallbackResources(3xt)
__________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|___________________________________|
| Availability | x11/library/toolkit/libxt ||_____________________________|___________________________________|
| Interface Stability | Committed ||_____________________________|___________________________________|
| MT-Level | See XtToolkitThreadInitialize(3XT)|
|_____________________________|___________________________________|
X Version 11 Last change: libXt 1.0.8 2