TOC PREV NEXT INDEX DOC LIST MASTER INDEX




X Resources

X applications are customizable using X-resources. For more information on X-resources, please see a User's Guide for the X Window System.

The complete name of every Rational resource begins with Rational.editorName.windowType or Rational.editorName.windowKind.windowType, where:

Consequently, a name that begins with Rational* affects all Rational windows, and a name that begins with Rational.ada affects only Rational ada editor windows. For specific editors (such as Text), specify Rational.editor instead of just Rational; for example Rational.text for text windows.

For example, to set the background color every dialog box displayed by the Ada debugger to IndianRed, your would include the following line in the app-default file:

Rational.adaDebugger*.dialogBox*background: IndianRed

See the Rational file in the standard app-defaults directory ($APEX_HOME/app_defaults) for current values and sample format. The app-default file used depends on the apexinit command options and the type of monitor being used

apexinit command
app-default file used
apexinit -mono
Rational-mono
apexinit -grey
Rational
apexinit -color
Rational-color
apexinit without a monitor option running on a mono monitor
Rational-mono
apexinit without a monitor option running on a greyscale monitor
Rational
apexinit without a monitor option running on a color monitor
Rational-color

X Resource Name
Description
Typical Values
Rational*background
The default background color, for areas whose color is not otherwise specified.
Gray95, DarkGoldenrod,IndianRed, ...
Rational*dialogBox*background
The background color of dialog boxes.
Gray95, DarkGoldenrod,IndianRed, ...
Rational*menuBar*background
The background color of the menu bar in main windows.
Gray95, DarkGoldenrod,IndianRed, ...
Rational*commandArea*background
The background color of the command area (aka button bar).
Gray95, DarkGoldenrod,IndianRed, ...
Rational*workArea*background
The background color of the workArea; that is, the largest area in the window, which usually displays the state of an object.
white, ivory, FloralWhite, snow
Rational*warningMsgForeground
The foreground color to be used for a messages Change "warningMsg" to one of: unknownKindMsg textMsg auxiliaryMsg debugMsg noteMsg positiveMsg positionMsg warningMsg errorMsg exceptionMsg sharpMsg dollarMsg atMsg continuationMsg internalErrorMsg notRequiredMsg to set foreground colors of these messages.
Red


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS