Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XGetDefault(3X11) — mips 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XOpenDisplay(3X11)

XrmGetSearchList(3X11)

XrmMergeDatabases(3X11)



XGetDefault(3X11)   RISC/os Reference Manual    XGetDefault(3X11)



NAME
     XGetDefault, XResourceManagerString - get X program defaults

SYNTAX
     char *XGetDefault(display, program, option)
           Display *display;
           char *program;
           char *option;

     char *XResourceManagerString(display)
             Display *display;

ARGUMENTS
     display   Specifies the connection to the X server.

     option    Specifies the option name.

     program   Specifies the program name for the Xlib defaults
               (usually argv[0] of the main program).

DESCRIPTION
     The XGetDefault function returns the value NULL if the
     option name specified in this argument does not exist for
     the program.  The 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.

SEE ALSO
     XOpenDisplay(3X11), XrmGetSearchList(3X11),
     XrmMergeDatabases(3X11)
     Xlib - C Language X Interface



















                         Printed 1/24/91         Release 4 Page 1



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