When the application creates widgets, the resource settings from the database are often the source for the initial values of widget resources. The remainder of this section describes the order in which XtDisplayInitialize loads each component of the database and how it derives the location of that component. In loading the application class defaults and the user's per-application defaults, XtDisplayInitialize calls XtResolvePathname to determine which files to read. XtResolvePathname uses file search paths. Each path is a set of patterns that may contain special character sequences for which XtResolvePathname substitutes runtime values when it searches for a file.
L is replaced by the display's language specification.
This may come from the xnlLanguage resource, the locale of the application, or an application callback procedure. See Internationalization for more information. The paths contain a series of elements separated by colons. Before doing the lookup, substitutions are performed. An application can specify additional options in arguments to XtAppInitialize , XtOpenDisplay , or XtDisplayInitialize .