Skip to content

Motif Programming in the X Window Environment

Best in textbook rentals since 2012!

ISBN-10: 0070317224

ISBN-13: 9780070317222

Edition: N/A

Authors: William A. Parrette

List price: $45.00
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

This step-by-step self-study guide combines the popular technologies of the X Window System and the OSF Motif toolkit to help you write powerful graphical user interface (GUI) programs for the UNIX operating system.
Customers also bought

Book details

List price: $45.00
Publisher: McGraw-Hill Companies, The
Binding: Hardcover
Pages: 608
Size: 7.75" wide x 9.75" long x 1.00" tall
Weight: 2.090
Language: English

Preface
What Is a Window System?p. 1
Data-Processing: Batch vs. Command-Line vs. Graphic-User Interfacesp. 2
Window System Conceptsp. 3
Types of Input to a Window Systemp. 4
Advantages of a Graphic-User interfacep. 6
Disadvantages of a Graphic-User Interfacep. 7
Application Programming for a Window Systemp. 8
A Brief History of Window Systemsp. 10
What Is the X Window System?p. 13
The X Window Systemp. 14
X Windowing Conceptsp. 17
X Window Pointer Conceptsp. 19
X and Xt Data Typesp. 19
Starting Xp. 20
Window Manager Conceptsp. 21
What Is the Motif Toolkit?p. 25
The Open Software Foundationp. 26
OSF/Motifp. 26
Motif Toolkit Libraryp. 27
Motif Data Typesp. 27
Motif Window Managerp. 28
The Relationship between X and Motifp. 30
A Typical X/Motif Terminal Sessionp. 30
Output from and Input to a Motif Applicationp. 30
Graphic-User Interface Objects - Widgetsp. 33
X and Object-Oriented Programmingp. 34
Widget Conceptsp. 35
Motif Widgetsp. 38
Xt Widgetsp. 37
The X/Motif Widget Class Treep. 38
X Application Programming Conceptsp. 41
Documentationp. 42
Function Naming Conventionsp. 43
Header Filesp. 43
Initializing and Creating a Shell Widgetp. 44
Error Handlingp. 46
Creating a Motif PushButton Widgetp. 47
Managing Nonshell Widgetsp. 49
Making the Shell Widget Visiblep. 50
Entering an Event Loopp. 51
A Complete X/Motif Client Applicationp. 53
Compiling and Executing X Programsp. 54
Event-Driven Programmingp. 57
Handling Input through the Widgetsp. 58
Callback Function Conceptsp. 58
Registering a Callback Functionp. 59
Coding a Callback Functionp. 60
Removing a Callbackp. 61
Terminating an X Program and Closing the Displayp. 63
A Complete X/Motif Client Applicationp. 63
Multiple-Widget Programsp. 67
Composite/Manager Widget Conceptsp. 68
Creating a Motif RowColumn Managerp. 69
Don't Forget to Manage the Managerp. 69
Widget Instance/Management Treep. 71
Parameters for Motif Widget Creation Functionsp. 72
Outline of a Basic X/Motif Programp. 73
A Complete X/Motif Client Applicationp. 74
Passing Data to a Callback Functionp. 79
Function Parametersp. 80
Clientdatap. 80
Calldatap. 81
Calldata for a PushButtonp. 82
Calldata for a RowColumnp. 83
A Complete X/Motif Client Applicationp. 84
Resourcesp. 89
X and Object-Oriented Programmingp. 90
Resource Conceptsp. 92
Classes, Instances, and Inheritancep. 93
Core Widget and Resourcesp. 94
XmPrimitive Widget and Resourcesp. 95
Composite Widget and Resourcesp. 95
XmManager Widget and Resourcesp. 96
Important Resource Conceptsp. 96
Resources for PushButtonsp. 97
Resources for RowColumnsp. 97
Setting Resources at Widget Creationp. 97
Setting and Getting Resources After Widget Creationp. 100
Resource Convenience Functionsp. 103
Motif Compound Stringsp. 104
A Complete X/Motif Client Applicationp. 107
Resource Filesp. 113
Resource File Conceptsp. 114
Syntax for Resource Filesp. 114
Sources for Resourcesp. 117
Advantages and Disadvantages of Resource Filesp. 118
xrdb Programp. 119
A Complete X/Motif Client Applicationp. 120
Motif Primitive Widgetsp. 125
Primitive Widget Conceptsp. 126
Motif ArrowButtonp. 126
Motif CascadeButtonp. 127
Motif DrawnButtonp. 129
Motif Labelp. 130
Motif Listp. 132
Motif ScrollBarp. 134
Motif Separatorp. 139
Motif ToggleButtonp. 140
Motif Gadgetsp. 142
Motif PushButtonGadgetp. 142
A Complete X/Motif Client Applicationp. 145
Motif Manager Widgetsp. 151
Manager Widget Conceptsp. 152
Motif BulletinBoardp. 152
Motif Drawing Areap. 154
Motif Framep. 156
Motif PanedWindowp. 157
Motif Scalep. 158
Motif ScrolledWindowp. 161
ScrolledWindow Extensionsp. 163
A Complete X/Motif Client Applicationp. 164
Motif Text Widgetp. 169
Motif Textp. 169
Common Text Widget Editing Behaviorsp. 172
Differences Between Single- and Multi-Line Text Widgetsp. 173
Motif Text Convenience Functionsp. 174
A Complete X/Motif Client Applicationp. 174
Common Motif Manager Widgetsp. 179
Motif Formp. 179
Theory of Form Children Attachmentsp. 181
Form Attachmentsp. 182
Widget Attachmentsp. 183
Position Attachmentsp. 184
Rubber Positioning and XmATTACHNONEp. 185
Common Form Children Layoutsp. 186
Motif MainWindowp. 187
Defined Widget Resource Valuesp. 190
A Complete X/Motif Client Applicationp. 191
Graphic-User Interface Design Guidelinesp. 197
Motif Style Guidep. 198
Giving Power to the Userp. 199
Client Areasp. 201
Grouping Related Controlsp. 204
Designing a Client Areap. 206
Motif's Mainwindow Widgetp. 208
X Eventsp. 211
Event Conceptsp. 212
Differences between Callbacks and Event Handlersp. 213
Event Typesp. 214
Registering an Event Handlerp. 216
Coding an Event Handlerp. 217
Removing an Event Handlerp. 219
X Event Data Structuresp. 220
Accessing Members of X Event Data Structuresp. 222
Other Common Event Structure Definitionsp. 222
Determining the Actual Mouse Pointer Locationp. 226
Translating Keypress Events into Charactersp. 227
Timeoutsp. 230
Work Proceduresp. 231
A Complete X/Motif Client Applicationp. 233
Motif Menusp. 239
Menu Conceptsp. 240
Menu Instance Treesp. 242
Motif PopupMenusp. 245
Motif PulldownMenusp. 248
Motif OptionMenusp. 249
Making Menu Options Unavailablep. 251
Motif MenuShellsp. 253
A Complete X/Motif Client Applicationp. 254
Motif Dialog Boxesp. 261
Dialog Box Conceptsp. 262
Motif MessageBoxp. 263
Motif SelectionBoxp. 265
Creating and Managing Dialog Boxesp. 267
MessageBox Dialogsp. 270
SelectionBox Dialogsp. 271
Create Your Own Dialogp. 272
Motif Dialog Box Convenience Functionsp. 274
Motif Dialog Shellsp. 276
A Complete X/Motif Client Applicationp. 276
Colorp. 281
X Color Conceptsp. 282
X Terminals and Visual Classesp. 286
The X Window System and Colormapsp. 287
Using Colors in Your Applicationp. 289
Installing Colors in a Colormapp. 291
Using Custom Colormapsp. 295
ColormapNotify Eventsp. 298
Complete X/Motif Client Applicationp. 299
X Fonts, Motif Fontlists, and the X Cursor Fontp. 305
X Font Conceptsp. 306
Motif Font Conceptsp. 310
Loading a Fontp. 312
Getting Font Informationp. 312
Creating a Motif Fontlistp. 315
Compound Strings and Fontlistsp. 318
X Cursor Fontp. 322
A Complete X/Motif Client Applicationp. 326
A Motif Case Study Example Programp. 331
Graphics Contextp. 361
Graphics Conceptsp. 362
Creating a Graphics Contextp. 364
Meaning of Various GC Membersp. 365
Changing the Graphics Context Programmaticallyp. 370
Drawing a Linep. 371
Drawing Textp. 374
Drawings and Expose Eventsp. 374
A Complete X/Motif Client Applicationp. 376
Drawing Graphics Objects (Optional)p. 381
Graphics Reviewp. 382
Drawing Pointsp. 383
Drawing Lines and Segmentsp. 383
Drawing Rectanglesp. 384
Drawing Arcsp. 386
Drawing Filled Rectangles and Arcsp. 387
Drawing Filled Polygonsp. 389
Clearing and Copying Areasp. 390
A Complete X/Motif Client Applicationp. 391
Pixmaps and Bitmaps (Optional)p. 397
Pixmap Conceptsp. 398
Creating a Pixmapp. 399
Clearing and Copying Pixmapsp. 400
Bitmap Conceptsp. 401
Creating a Pixmap from a Bitmapp. 402
Cursor Pixmapsp. 404
A Complete X/Motif Client Applicationp. 404
Motif Window Manager (Optional)p. 409
Purpose of a Window Managerp. 410
Motif's Input Selection Modelp. 413
Motif Window Manager Resourcesp. 417
Motif Keyboard Bindingsp. 419
Motif Mouse Button Bindingsp. 421
Motif Window Manager Menusp. 423
X11R4, X11R5, Motif 1.1, and Motif 1.2 (Optional)p. 427
X11 Release 4p. 428
X11 Release 5p. 430
OSF/Motif 1.1p. 432
Motif 1.1 Changes to Metaclass Widgetsp. 433
Motif 1.1 Changes to Primitive Widgets and Gadgetsp. 434
Motif 1.1 Changes to Manager Widgetsp. 438
Motif 1.1 Changes to Dialog Widgetsp. 439
Motif 1.1 Changes to Menu Widgetsp. 440
Motif 1.1 Changes to Support ANSI Cp. 441
OSF/Motif 1.2p. 441
Indexp. 445
Table of Contents provided by Blackwell. All Rights Reserved.