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
27 Advanced UIL Programming
This chapter describes advanced concepts and programming techniques in UIL. It builds on the UIL material
explained in the previous chapters.
This chapter introduces and examines ways that you can make the most of UIL's more advanced features. In the
following sections, we describe how to add non−Motif widgets to an interface description, discuss methods and ideas
for organizing UIL files, and examine the considerations that you face when setting resources in UIL. Finally, we
present material on advanced uses of UIL lists and user−interface prototyping.
27.1 Using Non−Motif Widgets
With UIL, it is easy to define instances of any of the Motif widgets, because their type names are built into the
compiler. However, you may need to use your own widget or a third−party widget in an application to provide
functionality that is not available in the Motif widget set. Fortunately, it is possible to include other widgets using the
special user_defined widget class along with the argument and reason value types.
OSF/Motif also supports non−Motif widget descriptions using the widget meta−language (WML). These widgets are
written into a separate WML description file which is run through the WML compiler. WML is typically used for
describing alternative widget sets; many third party widget sets include compiled WML description files. The use of
compiled WML description files is covered in #suilwmlopt, but a complete description of WML syntax and usage is
beyond the scope of 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