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
Output of rowcol.c with a horizontal orientation
If you use a RowColumn widget to manage more objects than can be arranged in a single row or column, you can
specify that the widgets should be arranged in both rows and columns. You can also specify whether the widgets
should be packed together tightly, so that the rows and columns are not necessarily the same size, or whether the
objects should be placed in identically−sized boxes. As with the Form and BulletinBoard widgets, objects can also be
placed at specific x, y locations in a RowColumn widget. The RowColumn widget does not provide a
three−dimensional border, so if you want to provide a visual border for the widget, you should create it as a child of a
Frame widget.
9.5.1 Rows and Columns
The RowColumn widget can be quite flexible in terms of how it lays out its children. The advantage of this flexibility
is that all of its child widgets are arranged in an organized fashion, regardless of their widget types. The widgets
remain organized when the RowColumn is resized and in spite of constraints imposed by other widgets or by
resources. One disadvantage of the flexibility is that sometimes the children need to be arranged in a specific layout so
that the user interface is intuitive.
the source code shows how to lay out widgets in a spreadsheet−style format using a RowColumn. This layout requires
that each of the widgets be the same size ...
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