XtScreenDatabase()XtScreenDatabase()NameXtScreenDatabase - 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.
DescriptionXtScreenDatabase() 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 XtDis‐
playInitialize(), the results are undefined.
See XtDisplayInitialize() for a description of how a resource database
is built for a screen.
UsageXtDatabase() 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 AlsoXtAppInitialize(1), XtDatabase(1), XtDisplayInitialize(1), XtGetAppli‐
cationResources(1).
Xt - Resource Management XtScreenDatabase()