Skip to Main Content
Volume 6A: Motif Programming Manual
book

Volume 6A: Motif Programming Manual

by David Brennan, Dan Heller, Paula Ferguson
September 1993
Intermediate to advanced content levelIntermediate to advanced
1014 pages
28h 26m
English
O'Reilly Media, Inc.
Content preview from Volume 6A: Motif Programming Manual
that are specific to these objects.
Frame
The purpose of the Frame widget is to provide a visible, three−dimensional border for objects such as
RowColumns or Labels that do not provide a border for themselves. In Motif 1.2, the Frame widget may have
two children: a work area child and a label child. With Motif 1.1, the Frame widget may have only one child.
In either case, the Frame sizes itself just big enough to contain its children.
PanedWindow
The PanedWindow manages its children in a vertically−tiled format. The widget takes its width from the
widest widget in its list of children. The PanedWindow also provides control sashes or grips that enable the
user to adjust the individual heights of the PanedWindow's children. Constraint resources for the
PanedWindow allow each child to specify its desired maximum and minimum height and whether it may be
resized.
DrawingArea
Although the DrawingArea widget is subclassed from the Manager widget class, it is not generally used in the
way that conventional managers are used. The widget does not do any drawing and it doesn't define any
keyboard or mouse behavior, although it does provide callbacks for user input. It is basically a free−form
widget that can be used for application−specific purposes. The widget provides callback resources to handle
keyboard, mouse, exposure, and resize events. While the DrawingArea widget can have children, it does not
manage them in any defined way. Since the DrawingArea widget is typically used for drawing, rather than ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Volume 7A: XView Programming Manual

Volume 7A: XView Programming Manual

Dan Heller

Publisher Resources

ISBN: 9780596000431