HP DECwindows Motif for OpenVMS Version 1.6

HP DECwindows Motif for OpenVMS V1.6
HP C for OpenVMS Alpha and I64
In addition, C header les supplied by The Open Group
have been modied to work with HP C++. Pascal and
Fortran bindings are included in the DECwindows Motif
kit; Motif ‘‘strongly typed’’ language bindings for Ada are
available in the HP Ada for OpenVMS Alpha layered
product. (Ada language bindings were not updated for
HP DECwindows Motif Version 1.3-1, V1.5 or V1.6)
For additional programming support, the
DECW$EXAMPLES directory includes the following
programming examples:
Motif widget set examples
X11R4 and X11R5 programming examples (Xlib ex-
amples)
HP supplied examples
The following sections describe the programming sup-
port libraries.
Standard X Window System Libraries
The X Window System compatible X programming li-
brary (Xlib) provided by DECwindows Motif supplies ba-
sic resource management (windows, color maps, input
devices) and bitmap graphics services. It de nes a
mapping of the X network protocol to a procedure li-
brary.
The X Window System Intrinsics library support contains
the X.Org Release 6 (R6) Intrinsics (X Toolkit). The X
Toolkit provides low-level routines that allow the creation
of user interface objects called widgets.
Motif User Interface Programming Support
The Motif style concepts are implemented by the Mo-
tif Toolkit. DECwindows Motif contains both the Mo-
tif and XUI Toolkits. Although programming support is
not available for previous releases, application run-time
support is provided for Motif Release 1.2.5 (CDE Motif
1.0) and Motif Release 1.2.3, Release 1.2.2, and Re-
lease 1.1.3 Toolkits, as well as for the XUI Toolkit.
The Motif toolkit is based on the X Toolkit Intrinsics and
contains three components:
Motif widgets and gadgets for implementing common
user interface objects, such as scroll bars, menus,
and push buttons
Utility routines that provide applications with func-
tions for performing common tasks, such as cutting
and pasting
Resource manager routines for loading user inter-
face denition les and creating widgets and gadgets
based on the contents of the denition les
Existing Motif Release 1.2.3 applications on Alpha and
I64 do not need to be recompiled or relinked to run in the
CDE environment. In addition, it is possible to achieve
basic integration of existing applications into CDE with-
out making changes to the application source code.
DECwindows Extensions to Motif
The DECwindows Motif product adds value to the stan-
dard Motif Toolkit by including a library that contains
a set of HP developed widgets and run-time routines
not available from The Open Group. The following wid-
gets provide a common DECwindows interface for some
commonly used DECwindows functions:
A Color Mix widget that enables users to select and
mix colors using a variety of color models.
A Compound String Text widget that provides support
for international character sets as well as left-to-right
character sets.
A Help widget that allows applications to display ap-
propriate Help text in a consistent manner. This
widget is provided for backward compatibility with
DECwindows Motif for OpenVMS Version 1.0 and
has been superseded by the DECwindows Motif help
system.
A Print widget that allows applications to print les in
a consistent manner.
A Structured Visual Navigation (SVN) widget used by
applications to display hierarchical information.
The run-time routines include three DECwindows Motif
help system calls that enable users to display online
help les using Bookreader.
CDA Programming Support
The CDA Toolkit provides access routines that applica-
tions can use to create, read, and write les contain-
ing compound text, graphics, and imaging data. These
les provide a vehicle for recording this information on
disk, a medium for interchange of this data between
applications, and an intermediate form from which high-
resolution printable graphics data can be generated.
XUI to Motif Porting Tools
HP provides tools to aid programmers in porting appli-
cations to Motif. These tools replace occurrences of
XUI names in the input source le with the correct Motif
names.
DECwindows X11 Display Server for OpenVMS
X Window System standards supported as part of
DECwindows Motif include the X11 network protocol,
a base set of workstation fonts, the C language bind-
ing for the Xlib progammng library, and the C language
binding for the X Toolkit libary.
5