[...]... a programmer's manual, not a reference manual Volume Six B, Motif Reference Manual, contains reference material for all of the Motif library functions and widget classes We have tried to identify those features of the toolkit that are most important for general discussion, so we do not discuss every aspect of the Motif toolkit in the body of this book Any major software development effort, especially... Associates: Volume Zero X Protocol Reference Manual Volume One Xlib Programming Manual Volume Two Xlib Reference Manual Volume Three X Window System User's Guide, Motif Edition Volume Four X Toolkit Intrinsics Programming Manual, Motif Edition Volume Five X Toolkit Intrinsics Reference Manual Volume Six B Motif Reference Manual Volume Seven XView Programming Manual (with accompanying reference volume) 5 1 Preface... toolkit such as Motif Motif provides a complete set of widgets designed to implement the application look and feel specified in the Motif Style Guide and the Motif Application Environment Specification The book provides a complete programmer's guide to the Motif toolkit While the OSF /Motif toolkit is based on Xt, the focus of the book is on Motif itself, not on the Intrinsics Detailed information about... a result, the next few years will see the number of Motif users and developers grow astronomically as Motif becomes the focal point for software and hardware companies alike You have two options for making applications Motif compliant You can write the entire application yourself, and make sure that all your user−interface features conform to the Motif GUI specifications, or you can use a programming... use Chapter 2 The Motif Programming Model teaches the fundamentals of Motif by example It presents a simple "Hello, World" program that shows the structure and style common to all Motif programs Much of this material is already covered in detail in Volume Four, X Toolkit Intrinsics Programming Manual, Motif Edition, so the chapter can be read as a refresher, or a light introduction for those who haven't... use or reference, but you won't learn everything there is to know about them through this particular volume This book covers Motif 1.2, which is the latest major release of the Motif toolkit Motif 1.2 is based on Release 5 of the Xlib and Xt specifications (X11R5) This release of Motif provides many new features, as well as a number of enhancements to existing functionality All of the changes in Motif. .. Programming Manual PHIGS Reference Manual PEXlib Programming Manual PEXlib Reference Manual Quick Reference The X Window System in a Nutshell 1.5 Conventions Used in This Book Italic is used for: • UNIX pathnames, filenames, program names, user command names, options for user commands, and variable expressions in syntax sections • New terms where they are defined Typewriter Font is used for: • Anything that... functions relating to Motif, Xt, and Xlib • Names of subroutines in example programs Italic Typewriter Font is used for: • Arguments to functions, since they could be typed in code as shown but are arbitrary names that could be changed Boldface is used for: • Names of buttons and menus 1.6 Obtaining Motif If your hardware vendor is an OSF member, they may be able to provide Motif binaries for your machine... final form of this book is the work of the staff at O'Reilly & Associates The authors would like to thank Chris Reilly for the figures, Donna Woonteiler, Chris Tong, and Ellie Cutler for indexing, Lenny Muellner for tools support, and Stephen Spainhour, Clairemarie Fisher O'Leary, Kismet McDonough, and Eileen Kramer for copyediting and production of the final copy Thanks also to Donna Woonteiler for. .. Donna Converse at the X Consortium for being somewhat patient with me Added thanks to Lynn Vaughn at CNN for keeping me informed about what's going on in the world, since I have no time to look out the window; to Short Attention−Span Theatre, for keeping me amused; and to Yogurt World, for keeping me fed This book was written using a Sun workstation, the vi editor (for which I guess I ought to thank . 607
22 .2. 1 Using Work Procedures 609
22 .2. 2 Using Timers 613
22 .2. 3 Processing Events 613
22 .2. 4 Updating the Display 619
22 .2. 5 Avoiding Forks 620
22 .3. DrawingArea 29 6
11 .5 Summary 3 01
11. 6 Exercises 3 01
12 Labels and Buttons 303
12 . 1 Labels 303
12 . 1. 1 Creating a Label 304
12 . 1 .2 Text Labels 305
12 . 1. 3 Images
Ngày đăng: 22/03/2014, 22:20
Xem thêm: Motif Reference Manual, VOL.6B - For Motif 2.1 ppt, Motif Reference Manual, VOL.6B - For Motif 2.1 ppt, 3 How This Book Is Organized, 7 Obtaining the Example Programs, 10 We'd Like to Hear From You, 3 Programming With Xt and Motif, 4 Putting Together a Complete Application, 3 The Command and Message Areas, 1 The Purpose of Dialogs, 2 The Anatomy of a Dialog, 6 Piercing the Dialog Abstraction, 4 Generalizing the Action Area, 5 Using a TopLevelShell for a Dialog, 1 Types of Manager Widgets, 1 The ScrolledWindow Design Model, 3 Working Directly With ScrollBars, 4 Implementing True Application-defined Scrolling, 5 Working With Keyboard Traversal in ScrolledWindows, 2 Using DrawingArea Callback Functions, 3 Using Translations on a DrawingArea, 4 Using Color in a DrawingArea, 1 Creating a List Widget, 1 Creating a Scale Widget, 3 Scale Orientation and Movement, 1 Interacting With Text Widgets, 4 General Menu Creation Techniques, 4 Handling Window Manager Messages, 1 Simple Clipboard Copy and Retrieval, 4 The Primary Selection and the Clipboard, 2 The Drag and Drop Model, 3 Customizing Built-in Drag and Drop, 4 Working With Drag Sources, 5 Working With Drop Sites, 4 Working With Font Lists, 2 Handling Signals in Xt, 1 Overview of UIL and Mrm, 3 Describing an Interface With UIL, 5 Structure of an Mrm Application, 2 Errors, Warnings, and Informational Messages, 2 Defining and Creating Widgets, 3 Defining and Fetching Values, 1 Defining the User Interface, 5 Prototyping an Interface With UIL, 1 A Postcard Interface for Mail, 2 A Bitmap Display Utility