Chapter 8: X Resources and the Graphical Interface
The app-defaults file documents the resources you can set
The HP64_Debug file is complete, well-commented, and a good source of
reference for graphical interface resources. The HP64_Debug file should be
your primary source of information about setting graphical interface
resources. This file can be easily viewed from the help topic menu by choosing
Help→General Topic and selecting the "X Resources: Setting" topic.
To further assist you with setting X resources, there is also another topic on
the help menu pull-down that you should use. Choose Help→X Resource
Names to display the class and instance name for the graphical interface in a
dialog box. From the dialog box, you can also display all widget class and
instance names for all widgets that make up the debugger's graphical interface.
In most cases, you will not need to delve that far into the widget tree, but it is
there if you need it.
In addition to the app-defaults file, the graphical interface uses scheme files.
Resources are not duplicated between scheme files and the HP64_Debug file.
You may wish to set resources found in the scheme files as well, so you need to
understand how scheme files relate to the interface and to the other X
Scheme files augment other X resource files
Hewlett-Packard realizes that the debugger's graphical interface will be run in
environments made up of workstations with different display capabilities and
even in environments with different types of computers (platforms) running
the X Window System. The debugger's graphical interface, unlike many other
X applications, makes determinations about display hardware as to the
platform type, the resolution of the display, and whether the display is color or
monochrome. The interface then loads the appropriate scheme files to allow
the interface to come up in a reasonable way based on the hardware.
There are six scheme files. Their names and a brief description of the
resources they contain follows:
Defines the labels for the fixed text in the interface.
Such things as menu item labels and similar text are in
this file. If the $LANG environment variable is set, the
scheme file "Debug.$LANG" is loaded if it exists;
otherwise, the file "Debug.Label" is loaded.