XGetDefault(3X) XGetDefault(3X)NAME XGetDefault, XResourceManagerString - get X defaults SYNOPSIS char *XGetDefault (display, program, option) Display *display; char *program; char *option; char *XResourceManagerString (display, Display *display; DESCRIPTION The XGetDefault function finds out the fonts, colors, and other environment defaults favored by a particular user for the specified program and returns NULL if the name specified by option does not exist for program. Strings returned by XGetDefault are owned by Xlib and should not be modified or freed by the client. The XResourceManagerString returns the RESOURCE_MANAGER pro- perty from the server's root window of screen zero, which was returned when the connection was opened using XOpen- Display. Note that the property value must be in a format that is acceptable to XrmGetStringDatabase. Arguments These functions accept the following arguments: display Specifies the connection to the X server. option Specifies the option name. program Specifies the program name for the Xlib defaults. You must pass the program name in with the program argument (usually argv[0]). SEE ALSO XOpenDisplay(3X), XrmMergeDatabases(3X)Xlib - C Language InterfaceNovember, 1990 1