X Toolkit Intrinsics Programming Manual: For X11 Release 5 - Motif Edition

Overview

Volume 4 is a complete guide to programming with the X Toolkit Intrinsics, the library of C language routines that facilitates the design of user interfaces with reusable components called widgets. It provides concepts and examples that show how to use the various X Toolkit routines. The first few chapters are devoted to using widgets; the remainder of the book covers the ...

See more details below
Paperback (Second Edition)
$31.49
BN.com price
(Save 9%)$34.95 List Price
Other sellers (Paperback)
  • All (29) from $1.99   
  • New (7) from $10.00   
  • Used (22) from $1.99   
Sending request ...

Overview

Volume 4 is a complete guide to programming with the X Toolkit Intrinsics, the library of C language routines that facilitates the design of user interfaces with reusable components called widgets. It provides concepts and examples that show how to use the various X Toolkit routines. The first few chapters are devoted to using widgets; the remainder of the book covers the more complex task of writing new widgets.

Uses the Motif 1.2 widget set in examples and covers X11 Release 5.

Volume 4 includes:

  • Introduction to the X Window System.
  • Building applications with widgets.
  • Constructing a bitmap editor with widgets.
  • An overview of each widget in the widget set.
  • Basic widget methods.

  • Events, translations, and accelerators.
  • Event handlers, timeouts, and work procedures.
  • Resource management and type conversion.
  • Selections and window manager interaction.
  • Geometry management.
  • Menus, gadgets, and cascaded pop-ups.
  • Miscellaneous techniques.
  • Comparison of Athena, OSF/Motif, and AT&T OPEN LOOK widgets.

This book is designed to be used with Volume 5, X Toolkit Intrinsics Reference Manual, which provides reference pages for each of the Xt functions, the widget classes defined by Xt, and the Athena widget set.

Read More Show Less

Editorial Reviews

Booknews
Complete guide to programming with the Xt Intrinsics. Guide to using widgets and to writing new widgets. Concept and examples of how to use various X Toolkit routines. Updated for Release 4. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Read More Show Less

Product Details

  • ISBN-13: 9781565920132
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 8/9/1992
  • Series: Definitive Guides to the X Window System Series
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 712
  • Product dimensions: 7.03 (w) x 9.18 (h) x 1.50 (d)

Meet the Author

Adrian Nye is the author or editor of several volumes in the X Window System Series from O'Reilly & Associates. Adrian has worked as a programmer writing educational software in C and as a mechanical engineer designing offshore oil spill cleanup equipment. He has interests in the environment and the impact of people and technology. He graduated from the Massachusetts Institute of Technology in 1984 with a B.S. in mechanical engineering.

Tim O'Reilly is the founder and CEO of O'Reilly & Associates, thought by many to be the best computer book publisher in the world. O'Reilly also publishes online through the O'Reilly Network (www.oreillynet.com) and hosts conferences on technology topics. Tim is an activist for open source and open standards, and an opponent of software patents and other incursions of new intellectual property laws into the public domain. Tim's long term vision for his company is to help change the world by capturing and transmitting the knowledge of innovators.

Read More Show Less

Table of Contents

Preface
Summary of Contents
Assumptions
Related Documents
How to Use This Manual
Font Conventions Used in This Manual
Request for Comments
Bulk Sales Information
Obtaining the X Window System Software
Obtaining Motif
Obtaining the Example Programs
FTP
FTPMAIL
BITFTP
UUCP
Compiling the Example Programs
Acknowledgments
Chapter 1. Introduction to the X Window System
1.1 The Server and Client
1.2 The Software Hierarchy
1.3 Event-driven Programming
1.4 The Window Manager
1.5 Extensions to X
Chapter 2. Introduction to the X Toolkit and Motif
2.1 Programming with Widgets
2.1.1 About Widget Sets
2.1.2 Widget Classes and Instances
2.1.3 Widget Configurability with Resources
2.1.4 Widget Independence
2.1.5 Widget-Application Interaction
2.1.6 Xt and Object-oriented Programming (OOP)
2.1.6.2 Methods
2.1.6.3 Messages
2.1.6.4 Encapsulation
2.2 Structure of Motif Applications
2.3 A Simple X Toolkit Application
2.3.1 The Code
2.3.2 Compiling the Application
2.3.3 The App-defaults File
2.3.4 To Hardcode or Not to Hardcode
2.4 Connecting Widgets to Application Code
2.4.1 Callbacks
2.5 More About Resources
2.5.1 Setting and Getting Resources from the Application
2.5.1.2 Setting Resources with the ArgList Interfaces
2.5.1.3 Getting a Resource Value
2.5.2 Core Resources
2.5.3 Other Inherited Resources
2.6 Advice on X Programming
2.7 Debugging Xt Applications
Chapter 3. More Techniques for Using Widgets
3.1 Using Composite Widgets
3.1.1 Setting Resources for an Instance Hierarchy
3.1.2 Geometry Management in Practice
3.2 Using Constraint Widgets
3.3 The Standard Motif Instance Hierarchy
3.3.1 Motif Widget Creation Routines
3.3.2 Building a Main Window
3.4 Using Popups
3.4.1 Creating a Basic Menu
3.4.2 Creating a Basic Dialog Box
3.4.3 Popup Window Hierarchy
3.5 More About Callbacks
3.5.1 Passing Data to Callback Functions
3.5.1.2 The call_data Argument
3.5.2 Callback Lists
3.6 Application Resources
3.6.1 The Application Data Structure
3.6.2 The Resource List
3.6.3 Getting the Resources
3.7 Command-line Options
3.7.1 Standard Command-line Options
3.7.2 Defining Your Own Command-line Options
3.8 Preventing User Customization of Widget Resources
3.8.1 Using the Varargs Interfaces
3.8.2 Using the Argument List Interfaces
3.8.2.2 Merging Argument Lists
3.9 More About Application Contexts
Chapter 4. An Example Application
4.1 xbitmap1: Bitmap Editor Using a BitmapEdit Widget
4.1.1 XBitmap1 App-defaults File
4.2 xbitmap2: Adding Graphics to Display the Bitmap
4.2.1 Exposure Strategy
4.2.2 Graphics from the Application
4.2.3 Writing a Bitmap File
4.3 xbitmap3: Another Way to Create a Custom Window
4.3.1 Actions
4.3.1.2 Format of an Action Function
4.3.2 Translations
4.3.2.2 Hardcoding Translations
4.3.2.3 Action Parameters
4.3.3 Adding Actions to Existing Widgets
4.4 xbitmap4: A Bitmap Editor Without a BitmapEdit Widget
Chapter 5. More About Motif
5.1 The Remaining Motif Widgets and Gadgets
5.1.1
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)