XtScreenDatabase() XtScreenDatabase()
Name
XtScreenDatabase - obtain the resource database for a screen.
Synopsis
XrmDatabase XtScreenDatabase(screen)
Screen *screen;
Inputs
screen Specifies the screen for which the database should be obtained.
Returns
The resource database of screen.
Availability
Release 5 and later.
Description
XtScreenDatabase() returns the fully merged resource database for the specified screen. If that database has not already been built (by
XtDisplayInitialize(), for example), XtScreenDatabase() builds it. If the specified screen does not belong to a display initialized by
XtDisplayInitialize(), the results are undefined.
See XtDisplayInitialize() for a description of how a resource database is built for a screen.
Usage
XtDatabase() returns the database associated with the default screen of a display. Prior to Release 5, this database was used for all
screens of a display.
You should rarely need to use the database of a screen or display directly. XtGetApplicationResources() and related functions provide a
more manageable approach to obtaining resource values.
Structures
XrmDatabase is an opaque data type.
See Also
XtAppInitialize(1), XtDatabase(1), XtDisplayInitialize(1), XtGetApplicationResources(1).
Xt - Resource Management XtScreenDatabase()