Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XrmGetSearchList(3X11)

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

displaySpecifies the connection to the X server. 

optionSpecifies the option name. 

programSpecifies 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 property from the server’s root window of screen zero, which was returned when the connection was opened using XOpenDisplay.

See Also

XrmGetSearchList(3X11)
Guide to the Xlib Library

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