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
25 Creating a User Interface With UIL
This chapter expands upon the overview of UIL and Mrm presented earlier. The syntax and usage of UIL are
described in detail, along with the Mrm functions associated with the various UIL constructs.
Now that you have a basic understanding of how UIL and Mrm are used to define and create a user interface, we can
turn to the details of using UIL and Mrm. Recall that a UIL module can contain five different types of sections: the
object section for defining widgets; the value section for defining resource values and callback arguments; the
identifier section for declaring application variables exported to UIL; the procedure section for declaring
callbacks; and the list section for defining lists of widgets, resource settings, callback settings, and callback
routines.
An application accesses UIL definitions using the Mrm library. Mrm functions serve three basic purposes: file
handling, importing information from UIL, and exporting information to UIL. Examples of each of these types of
functionality appear in the hello_world.c program in Chapter 22, Introduction to UIL. The functions that import
information create widgets that are defined in object sections and retrieve data that is defined in value sections.
The functions that export information register callbacks that are declared in procedure sections and application
data that is declared in identifier sections. There are no Mrm functions that work with UIL lists, because unlike
other UIL entities, lists ...
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