HP 64782 User Manual page 494

For the graphical user interface
Hide thumbs Also See for 64782:
Table of Contents

Advertisement

X Resources and the Graphical User Interface
This section contains more detailed information about X resources and
scheme files that control the appearance and operation of the Graphical User
Interface. This section:
Describes the X Window concepts surrounding resource specification.
Describes the Graphical User Interface's implementation of scheme files.
X Resource Specifications
An X resource specification is a resource name and a value. The resource
name identifies the element whose appearance or behavior is to be defined,
and the value specifies how the element should look or behave. For example,
consider the following resource specification:
Application.form.row.done.background: red
The resource name is "Application.form.row.done.background:" and the value
is "red".
Resource Names Follow Widget Hierarchy
A widget is an OSF/Motif graphic device from which X applications are built.
For example, pushbuttons and menu bars are Motif widgets. Applications are
built using a hierarchy of widgets, and the application's X resource names
follow this hierarchy. For example:
Application.form.row.done.background: red
In the resource name above, the top-level widget is named after the
application. One of the top-level widget's children is a form widget, one of
the form widget's children is a row-column manager widget, and one of the
row-column manager widget's children is a pushbutton widget. Resource
names show a path in the widget hierarchy.
Each widget in the hierarchy is a member of a widget class, and the particular
instance of the widget is named by the application programmer.
493

Advertisement

Table of Contents
loading

Table of Contents