XrmSetDatabase

Syntax

void XrmSetDatabase(display, database)
      Display *display;
      XrmDatabase database;

Arguments

display Specifies the connection to the X server.
database Specifies the resource database.

Description

The XrmSetDatabase() function associates the specified resource database (or NULL) with the specified display. The database previously associated with the display (if any) is not destroyed. A client or toolkit may find this function convenient for retaining a database once it is constructed.

See also

XrmDestroyDatabase(), XrmGetDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmInitialize(), XrmLocaleOfDatabase(), XrmPutFileDatabase(), XrmPutResource(), "Creating and Storing Databases"
Christophe Tronche, ch.tronche@computer.org