Volume 6C: Motif Tools Streamlined GUI Design and Programming with the Xmt Library

By David Flanagan
First Edition   
Pages: 1024
ISBN 10: 1-56592-044-9 | ISBN 13: 9781565920446

This book is OUT OF PRINT.

Book description

Motif Tools and the Xmt programming library that accompanies it on CD-ROM offer resources that will empower Motif programmers and dramatically speed up application development with the X Toolkit and Motif. While this book is a complete programmer's guide and reference manual for the Xmt library, it is not just a dry volume about programming mechanics; it also describes a holistic philosophy of development of a complete application: from first conception, through design and implementation, and on to the finishing stylistic touches.
Full Description

Motif Tools and the Xmt programming library that accompanies it on CD-ROM offer resources that will empower Motif programmers and dramatically speed up application development with the X Toolkit and Motif. David Flanagan, author of both the book and the library, writes: "The need for a convenience toolkit is something that not enough programmers and managers realize--Motif is too often viewed as a complete GUI development package, when in fact it was designed only to provide a standard base level of functionality. This is where the Xmt library comes in; it provides many of the widgets and functions that are implemented over and over again by developers. My aim was to put programmer ease-of-use first (something the designers of Motif obviously did not do) and create a library that really simplifies GUI development." The Xmt library contains nine custom widgets and over 250 convenience routines that handle many tricky aspects of GUI programming. The Layout widget, for example, is an incredibly flexible manager widget that makes the confusing and awkward Motif Form widget a thing of the past. And a single Menu widget will create an entire pulldown menu system for your application by reading a special menu description from a resource file or your C code. Other features of the library dramatically simplify the use of Motif XmStrings, automate the transfer of data between the fields of an application's data structures and the widgets of its dialog boxes, and make it possible to automatically create a widget hierarchy completely described in a resource file. Motif Tools is a complete programmer's guide and reference manual for the Xmt library. But the book is not just a dry volume about programming mechanics; it also describes a holistic philosophy of application design and development. It guides the reader through the development of a complete application: from first conception, through design and implementation, and on to the finishing stylistic touches--the myriad little details that make the difference between an application that looks sharp and one that just looks ordinary, between one that is a pleasure to use and one that is just usable. Scattered throughout the book, and collected on the CD, you will also find programming tips and tidbits submitted by Motif programmers from around the world. The price of this book includes a single-programmer license to use the Xmt library source code. Additional licenses may be purchased at a nominal cost.

Browse within this book

Cover | Table of Contents | Colophon




Featured customer reviews

Be the first person to review this book!

Write a Review


Media reviews "I switched from a commercial UIL-based GUI builder to the Xmt library for building my user interface. The resource file to build my UI with Xmt is about one-tenth the size of the UIL code built by the GUI builder and can be built in half the time or less. Much more of the interface can be specified in the resource file with Xmt than UIL and the MRM facilities can handle, reducing the coupling between the user interface and the application code.

"The XmtLayout widget is a real gem. It is both more powerful and more intuitive than the XmForm widget, and the complete layout of a window can be specified in one resource in the resource file and can be changed without any recompilation or relinking. Whole menu trees can likewise be specified in just a few resources, using all the features of the Motif menu system. Xmt's handling of input dialogs greatly simplifies application code by allowing synchronous prompting of the user, without contorting the code, and with the automatic dialog management features, some dialogs require almost no code at all.

"And these are only a few of the many convenience features that simplify my job and allow me to concentrate more on other parts of the application. I'd hate to have to do without it, but since the source code is available, I know I'll never have to. I've already ported it to OpenVMS and am confident it would be easy to port to any Motif-based system on any platform. The Xmt library has already saved me much more time than it took to do the port."

Read all reviews

See larger cover