HP Visualize J5000 HP Workstations - Graphics Administration Guide For Red Hat - Page 58

borderColor, foreground, Background, classes, instances

Page 58 highlights

-xrm resourcestring Resources can also be specified from the command line. The resourcestring is a single resource name and value as shown above. Note that if the string contains characters interpreted by the shell (e.g., asterisk), they must be quoted. Any number of -xrm arguments may be given on the command line. Program resources are organized into groups called classes, so that collections of individual resources (each of which are called instances) can be set all at once. By convention, the instance name of a resource begins with a lowercase letter and class name with an uppercase letter. Multiple word resources are concatenated with the first letter of the succeeding words capitalized. Applications written with the X Toolkit Intrinsics will have at least the following resources: background (class Background) This resource specifies the color to use for the window background. borderWidth (class BorderWidth) This resource specifies the width in pixels of the window border. borderColor (class BorderColor) This resource specifies the color to use for the window border. Most applications using the X Toolkit Intrinsics also have the resource foreground (class Foreground), specifying the color to use for text and graphics within the window. By combining class and instance specifications, application preferences can be set quickly and easily. Users of color displays will frequently want to set Background and Foreground classes to particular defaults. Specific color instances such as text cursors can then be overridden without having to define all of the related resources. Graphics Administration Guide For Red Hat Linux 6.2

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73

-xrm
resourcestring
Resources can also be specified from the command line. The
resourcestring
is a
single resource name and value as shown above. Note that if the string contains
characters interpreted by the shell (e.g., asterisk), they must be quoted. Any
number of
-xrm
arguments may be given on the command line.
Program resources are organized into groups called
classes
, so that collections of
individual resources (each of which are called
instances
) can be set all at once. By
convention, the instance name of a resource begins with a lowercase letter and class name
with an uppercase letter. Multiple word resources are concatenated with the first letter of
the succeeding words capitalized. Applications written with the X Toolkit Intrinsics will
have at least the following resources:
background (class Background)
This resource specifies the color to use for the window background.
borderWidth (class BorderWidth)
This resource specifies the width in pixels of the window border.
borderColor
(class
BorderColor
)
This resource specifies the color to use for the window border.
Most applications using the X Toolkit Intrinsics also have the resource
foreground
(class
Foreground
), specifying the color to use for text and graphics within the
window.
By combining class and instance specifications, application preferences can be set
quickly and easily. Users of color displays will frequently want to set
Background
and
Foreground
classes to particular defaults. Specific color instances such as text
cursors can then be overridden without having to define all of the related resources.
Graphics Administration Guide For Red Hat Linux 6.2