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
3 The Motif Programming Model
This chapter teaches the fundamentals of Motif by example. It dissects a simple "Hello, World" program, showing the
program structure and style common to all Motif programs. Because much of this material is already covered in detail
in Volume Four, X Toolkit Intrinsics Programming Manual, Motif Edition, this chapter can be used as a refresher or a
light introduction for those who haven't read the earlier book. It makes reference to Volume One, Xlib Programming
Manual, and Volume Four to point out areas that the programmer needs to understand (windows, widgets, events,
callbacks, resources, translations) before progressing with Motif.
Though we expect most readers of this book to be familiar with the X Toolkit Intrinsics (Xt), this chapter briefly
reviews the foundations of Motif in Xt. This review serves a variety of purposes. First, for completeness, we define
our terms, so if you are unfamiliar with Xt, you will not be completely at sea if you forge ahead. Second, there are
many important aspects of the X Toolkit Intrinsics that we aren't going to cover in this book; this review gives us a
chance to direct you to other sources of information about these areas. Third, Motif diverges from Xt in some
important ways, and we point out these differences up front. Finally, we point out some of the particular choices you
can make when Xt or Motif provides more than one way to accomplish the same task.
If you are unfamiliar with any of the concepts introduced in this ...
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