Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtDatabase(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppInitialize(1)

XtDisplayInitialize(1)

XtGetResourceList(1)

XtGetSubresources(1)

 

Name

XtDatabase — obtain the resource database for a particular display. 

Synopsis

XrmDatabase XtDatabase(display)

    Display ∗display;

Arguments

displaySpecifies the display for which the resource database should be returned. 

Description

XtDatabase returns the complete resource database built by XtDisplayInitialize that is associated with display.  The contents of the database are fully merged from resource values on the server and command line arguments. 

If display has not been initialized by XtDisplayInitialize, the results are not defined. 

The type XrmDatabase should be treated as opaque and should not be manipulated directly except with Xlib functions (XrmPutResource, XrmQPutResource, XrmGetResource, XrmQGetResource, etc.). 

XtAppInitialize, XtGetResourceList, and XtGetSubresources provide a more manageable approach to obtaining resources. 

Structures

XrmDatabase is a pointer to an opaque data type. 

Command-line arguments and a complete example using alternate command line parsing are presented in Chapter 9, Resource Management and Type Conversion, in Volume Four, X Toolkit Intrinsics Programming Manual. 

See Also

XtAppInitialize(1), XtDisplayInitialize(1), XtGetResourceList(1), XtGetSubresources(1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026