|
|
The type of text string that you supply for a resource_value depends on the nature of the resource variable. Resources tend to fall into eight categories, each requiring a different type of value.
These basic categories are described below:
XClock*foreground: magenta XCalc*background: aquamarineBecause the Graphical Environment provides scocolor, a color editor that allows you to create palettes of colors, it is recommended that you refrain from using actual color values with resources and instead assign palette resource variables. These variables are then assigned actual color values through scocolor. The following example shows how several color resources have been assigned appropriate palette resource variables instead of actual color values:
ScoEdit*background: scoBackground ScoMail*foreground: scoForegroundFor information on the color database, the scocolor client and its interaction with palette resource variables, and for details on how to specify color resources, see ``Changing colors''.
ScoTerm*Font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 ScoTerm*Font: *courier-bold-r*140* ScoTerm*Font: courierB14For information on fonts and specifying font resources, see ``Changing fonts''.
XCalc*geometry: 180x240-0-0 XClock*geometry: -0+5For information on specifying geometry resources, see ``Configuring window size and location''.
ScoTerm*pointerShape: gumbyFor information on specifying a different cursor pixmap for the scoterm client, see ``Changing cursor appearance''.
Pmwm*scocolor*backgroundPixmap: scales *bottomShadowPixmap: mensetmanus
XClock*update: 30 XLoad*update: 60 XLogo*borderWidth: 10
ScoTerm*scrollBar: false Pmwm*focusAutoRaise: true