About this Book This book is a detailed introduction to programming with the OSF /MotifI'M graphical user interface. It is an introduction in that it does not require the reader to have experience programming in the X Window environment. It is detailed in that it teaches you how to use the interface components provided by Motif in a complex application. Although it contains a great deal of reference material, it is not meant as an authoritative reference - that is the job of the OSF/Motif Programmer's Reference, which uses over 900 pages in the process. Instead, this book provides its reference material in a practical, "how to" manner and allows the reader to use the Programmer's Reference effectively. The target reader is an experienced C programmer and user of the X Window System under the UNIX operating system. 'the reader should be familiar with the tools provided by UNIX for the compilation and testing of programs; while this book does examine the process by which a Motif program is compiled, it does not explain that process. It also assumes that the reader is familiar with "x" terms such as 'pointer' and 'display'.
Inhaltsverzeichnis
1 An Introduction To Motif. - 2 The Widget. - 3 Widget Resources. - 4 Writing A Motif Program. - 5 XmLabel. - 6 Managers. - 7 Buttons. - 8 Events and Callbacks. - 9 Keyboard Input. - 10 Scrollbars. - 11 The Motif Look . - 12 Menus. - 13 Dialogs. - 14 Lists. - 15 Using Xlib With Motif. - 16 Resources Revisited. - 17 Interclient Communication. - Appendix A:
ISO Latin 1 Character Set. - Appendix B:
Widget Class Summary. - Overview. - ApplicationShell. - Composite. - Constraint. - Core. - OverrideShell. - Shell. - TopLevelShell. - TransientShell. - VendorShell. - WMShell. - XmArrowButton. - XmBulletinBoard. - XmCascadeButton543. - XmCommand543. - XmDialogShell. - XmDrawingArea. - XmDrawnButton. - XmfileSelectionBox. - XmForm. - XmFrame. - XmLabel. - XmList. - XmMainWindow. - XmManager. - XmMenuShell. - XmMessageBox. - XmPanedWindow551. - XmPrimitive. - XmPushButton. - XmRowColumn. - XmScale. - XmScrollBar. - XmScrolledWindow. - XmSelectionBox. - XmSeparator. - XmText. - XmToggleButton. - Appendix C:
X Event Reference. - Overview. - Event Types. - Event Masks. - XEvent. - XAnyEvent. - ButtonPress. ButtonRelease. - CirculateNotify. - CirculateRequest. - ClientMessage. - ColormapNotify. - ConfigureNotify. - ConfigureRequest. - CreateNotify. - DestroyNotify. - EnterNotify, LeaveNotify. - Expose. - Focusln, FocusOut. - GraphicsExpose, NoExpose. - GravityNotify. - KeymapNotify. - KeyPress, KeyRelease. - MapNotify, UnmapNotify. - MappingNotify. - MapRequest. - MotionNotify. - PropertyNotify. - ReparentNotify. - ResizeRequest. - SelectionClear. - SelectionNotify. - SelectionRequest. - VisibilityNotify. - Appendix D:
Changes In X And Motif. - Overview. - From Motif 1. 0 to 1. 1. - From X11 Release 3 to Release 4. - From X11 Release 4 to Release 5. - Appendix E: Where To Go For More Information. - Overview. - Documentation. - Mailing Lists/NetNews. - The FAQs. - Getting X andMotif Software. - Getting This Book s Sample Programs.