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
XmSHADOW_IN
XmSHADOW_OUT
XmSHADOW_ETCHED_IN
XmSHADOW_ETCHED_OUT
The default value for XmNshadowThickness is 0, except when the BulletinBoard is the child of a DialogShell, in
which case the default value is 1. In either case, the value can be changed by the application or by the user.
The XmNbuttonFontList resource may be set to a font list as described in Chapter 19, Compound Strings. This
font list is used for each of the button children of the BulletinBoard, when the button does not specify its own font. If
the resource is not specified, its value is taken from the XmNbuttonFontList of the nearest ancestor that is a
subclass of BulletinBoard, VendorShell, or MenuShell. Similarly, the XmNlabelFontList and
XmNtextFontList resources can be set for the Labels and Text widgets, respectively, that are direct children of
the BulletinBoard.
9.3.2 Geometry Management
Since the BulletinBoard does not provide any geometry management by default, you must be prepared to manage the
positions and sizes of the widgets within a BulletinBoard. As a result, you must set the XmNx and XmNy resources for
each child. You may also have to set the XmNwidth and XmNheight resources if you need consistent or
predetermined sizes for the children. In order to maintain the layout, you must add an event handler for resize
(ConfigureNotify) events, so that the new sizes and positions of the children can be calculated. the source code
shows the use of an event handler with the BulletinBoard. XtSetLanguageProc() is only ...
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