PREV UP NEXT GNU Emacs Lisp Reference Manual

26.20: X Resources

Function: x-get-resource attribute class &optional component subclass
The function x-get-resource retrieves a resource value from the X Windows defaults database.

Resources are indexed by a combination of a key and a class. This function searches using a key of the form instance.attribute (where instance is the name under which Emacs was invoked), and using Emacs.class as the class.

The optional arguments component and subclass add to the key and the class, respectively. You must specify both of them or neither. If you specify them, the key is instance.component.attribute, and the class is Emacs.class.subclass.

See Resources X.