Programming with MotifTM

Front Cover
Springer Science & Business Media, Dec 6, 2012 - Computers - 664 pages
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'.
 

Contents

1
2
Sample Resource File
17
Getting Resources Programmatically
25
XmLabel
39
7
107
Events and Callbacks
125
Keyboard Input
165
Scrollbars
205
CirculateRequest
574
ClientMessage
575
ColormapNotify
577
ConfigureNotify
578
ConfigureRequest
580
CreateNotify
583
DestroyNotify
584
EnterNotify LeaveNotify
585

The Motif Look 99
233
Menus
261
Dialogs
305
Lists
337
EMail Addresses
361
OpenSave As
368
XmCommand
379
Using Xlib With Motif
387
Resources Revisited
427
Interclient Communication
467
Appendix
486
Appendix
534
XmScrollBar
556
XmScrolledWindow
557
XmSelectionBox
558
XmSeparator
559
XmText
560
XmToggleButton
561
Appendix
563
Event Masks
565
XEvent
567
XAnyEvent
570
ButtonPress ButtonRelease
571
CirculateNotify
573
Expose
588
FocusIn FocusOut
589
GraphicsExpose NoExpose
592
GravityNotify
594
KeymapNotify
595
KeyPress KeyRelease
596
MapNotify UnmapNotify
598
MappingNotify
600
MapRequest
601
MotionNotify
602
PropertyNotify
605
ReparentNotify
606
ResizeRequest
607
SelectionClear
608
SelectionNotify
609
SelectionRequest
611
VisibilityNotify
613
Appendix
615
From X11 Release 3 to Release 4
618
From X11 Release 4 to Release 5
622
Glossary
631
Index
655
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information