|
|
Using the X Window System > Chapter 5 Application ResourcesSyntax of Resource Specifications |
|
Resource files are text files. They must obey the following syntax rules:
The general syntax for specifying a resource for a client is: [ { client_name client_class } ] * resource: value For example:
sets the background color of the hpterm window to skyblue. Trailing blanks in a resource value are parsed and therefore can cause errors to occur. For example, if you inadvertently included a blank after "skyblue" in the example above, several warning messages appear when the program using the resource definition is run:
Certain clients allow you to set resources for particular parts of the client. For example,
sets the scrollbar on hpterm windows to mediumblue. |
|