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
to the DialogShell. The resource only affects the presence of resize handles in the window manager frame; it does not
deal with other window manager controls. See Chapter 16, Interacting With the Window Manager, for details on how
to specify the window manager controls for a DialogShell, or any shell widget, directly.
6.4.6 Dialog Fonts
The BulletinBoard widget provides resources that enable you to specify the fonts that are used for all of the button,
Label, and Text widget descendants of the BulletinBoard. Since Motif dialog widgets are subclassed from the
BulletinBoard, you can use these resources to make sure that the fonts that are used within a dialog are consistent. The
XmNbuttonFontList resource specifies the font list that is used for all of the button descendants of the dialog.
The resource is set on the dialog widget itself, not on its individual children. Similarly, the XmNlabelFontList
resource is used to set the font list for all of the Label descendants of the dialog and XmNtextFontList is used for
all of the Text and TextField descendants.
If one of these resources is not set, the toolkit determines the font list by searching up the widget hierarchy for an
ancestor that is a subclass of BulletinBoard, VendorShell, or MenuShell. If an ancestor is found, the font list resource
is set to the value of that font list resource in the ancestor widget. See Chapter 19, Compound Strings, for more
information on font lists.
You can override the XmNbuttonFontList, XmNlabelFontList, and ...
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