DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Understanding resources

Syntax for resource specifications

A resource specification consists of the following components,

[client]*[restrictions*restrictions...]*resource_name: resource_value

where:

For information on choosing the actual names for the client, restrictions, and resource_name components, see ``Using classes and instances in resource specifications''.

The following examples show various combinations of the above components and describe the effects the resource specifications have on the system:


*foreground: yellow
specifies that the foreground color is yellow. Because no client is specified, the color applies to all clients. Because no restrictions are indicated, the color applies everywhere within all clients.

XClock*foreground: pink
specifies that the foreground color for the xclock client is pink. The specification applies to all aspects of the xclock client that use the foreground resource.

Xman*topBox*foreground: blue
specifies that the foreground color is blue for the topBox widget, which is xman's main options menu. The topBox component of the resource specification is a restriction, limiting the use of the foreground resource to a small portion of the xman client.

Next topic: Using classes and instances in resource specifications
Previous topic: About resources

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003