Programming with Motif

Lieferzeit: Nicht mehr lieferbar

106,99 

ISBN: 0387978771
ISBN 13: 9780387978772
Autor: Gregory, Keith D
Verlag: Springer Verlag GmbH
Umfang: xxii, 664 S., 62 s/w Illustr., 664 p. 62 illus.
Erscheinungsdatum: 08.10.1992
Auflage: 1/1992
Produktform: Kartoniert
Einband: Kartoniert

Nicht vorrätig

Artikelnummer: 4369222 Kategorie:

Beschreibung

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'.

Autorenporträt

Inhaltsangabe1 An Introduction To Motif.- 'Mechanism, not Policy'.- Enter Motif.- The Layers of X.- 2 The Widget.- What Is a Widget?.- An Introduction to Object-Oriented Programming.- Widgets as Objects.- The Motif Class Tree.- Widget Instance Tree.- 3 Widget Resources.- What Are Resources?.- Resource Tables.- A Short Note on Resource Naming Conventions.- Resource Files.- The Naming of Widgets.- Format of a Resource Specification.- Sample Resource File.- Setting Resources by Class.- Resolution of Wild carded Widget Names.- The Resource not Set.- Commenting the Resource File.- How Many Resource Files Could One Program Use?.- Setting Resources from the Command Line.- Setting Resources Programmatically.- "Hard Wiring" Resource Values.- Getting Resources Programmatically.- 4 Writing A Motif Program.- The Widget Data Type.- Stages in the Life of a Motif Program.- A Program Template.- Header Files.- Compilation of a Motif Program.- A Short Note About Program Size.- What About Standard I/O?.- 5 XmLabel.- Overview.- XmLabel Inheritance.- XmLabel Resources.- Using XmLabel: "Hello, World!".- Setting a Label's Font.- The XmString Data Type.- Setting labelString Programmatically.- Using XmLabel with Pictures.- 6 Managers.- Overview.- Inheritance.- Constraints: An Overview.- Management Revisited.- Measurement: The unitType Resource.- XmBulletinBoard.- XmBulletinBoard Examples.- XmRowColunm.- XmRowColunm Examples.- XmPanedWindow.- XmPanedWindow Example: Three Labels and a Paned Window.- XmForm.- XmForm Examples.- 7 Buttons.- Overview.- Inheritance.- XmPushButton.- XmPushButton Example: Press Here.- XmArrowButton.- XmArrowButton Example.- XmToggleButton.- XmToggleButton Examples.- 8 Events and Callbacks.- Overview.- Handling X Events.- Event Handler Example: Mouse Tracker.- Callbacks.- Button Callbacks.- XmPushButton Callback Example: Press Here.- Actions.- Translations.- Action/Translation Example: Multibutton Pushbutton.- XmPushButton Default Translations.- 9 Keyboard Input.- Overview.- Input Focus.- Keyboard Events.- Traversal.- Traversal Example: Three Tab Groups.- XmText.- XmText Resources.- XmText Callbacks.- XmText Default Translations.- XmText Convenience Functions.- XmText Example: Memo Pad.- XmText Example: Entry Fields.- Scrolled Text.- Creating a Scrolled Text "Widget".- Scrolled Text Resources.- Scrolled Text Example: File Browser.- 10 Scrollbars.- Overview.- Scrollbar Components and Terminology.- XmScrolledWindow.- XmScrolledWindow Resources.- Creating and.Initializing a Scrolled Window.- XmScrolledWmdow Example. Scrolling Row-Column.- XmScrollBar.- XmScrollBar Resources.- XrnScrollBar Callbacks.- Getting and Setting a Scrollbar's Values Programmatically.- XmScrollBar Example.- XmScale.- XmScale Resources.- XmScale CallbaGks.- Getting and Setting a Scale's Value Programmatically.- XmScale Example.- 11 The Motif "Look".- Overview.- Components of a Motif Client.- XmMain Window.- XmMain Window Resources.- XmMainWindow Convenience Functions.- XmSeparator.- XmSeparator Resources.- XmSeparator Example.- XmFrame.- XmFrame Resources.- XmFrame Example: Labels in Frames.- The New Standard Program Template.- The Text Editor: A Sample Application.- 12 Menus.- Overview.- XmCascadeButton.- XmCascadeButton Resources.- XmCascadeButton Callbacks.- XmRowColumn Menu Resources.- XmRowColumn Callbacks.- The Menu Bar.- The Standard Motif Menu Bar.- Menu Bar Example: Adding a Menu Bar to the Editor.- XmMenuShell and a Menu Pane's Instance Tree.- Pull-Down Menus.- Pull-Down Example: Adding Pull-Down Menus to the Editor.- Mnemonics.- Menu AcceleratorsCascading Pull-Downs.- Cascading Pull-Down Example.- Pop-Up Menus.- Pop-Up Menu Example: Color Selection Menu.- Option Menus.- XmRowColumn Resources Specific to Option Menus.- Option Menu Example: Font Family and Size.- Menu Summary.- 13 Dialogs.- Overview.- Dialog Modality.- Dialog Design and Components.- XmDialogShell.- XmDialogShell Resources.- Dialog Management and Unmanagement.- XmBulletinBoard Dialog Resources.-

Herstellerkennzeichnung:


Springer Verlag GmbH
Tiergartenstr. 17
69121 Heidelberg
DE

E-Mail: juergen.hartmann@springer.com

Das könnte Ihnen auch gefallen …