Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
4Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
O'Reilly - Motif Programming Manual 6a

O'Reilly - Motif Programming Manual 6a

Ratings: (0)|Views: 343 |Likes:
Published by rifiz

More info:

Published by: rifiz on Aug 20, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

 
THE DEFINITIVE GUIDES TO THEX WINDOW SYSTEMVOLUME SIX A
Motif Programming Manual
 for Motif 2.1
Open Source EditionAntony Fountain, Jeremy Huxtable, PaulaFerguson and Dan Heller
 
Motif Programming Manual, Open Source Edition
by Antony Fountain, Jeremy Huxtable, Paula Ferguson and Dan HellerDecember 2001Copyright
 
© 1991, 1994, 2000, 2001
O’Reilly & Associates, Inc., Antony Fountain andJeremyHuxtable.This material maybe distributedonlysubjecttotheterms andconditionsset forth in the Open Publication License, v1.0 or later (the latest version is presentlyavailable at http://www.opencontent.org/openpub/).This is an updated version of the Motif Programming Manual, Second Edition, publishedby O’Reilly & Associates in February 1994. The source files for the Second Edition can befound at http://www.oreilly.com/openbook/motif/. A description of the modificationsis contained in the Preface to the Third Edition, which has become the Open SourceEdition.Many of the designations used by manufacturers and sellers to distinguish their productsare claimed as trademarks. Where those designations appear in this book, and O’Reilly &Associates,Inc.wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsor initial caps.While every precaution has been taken in the preparation of this book, the publisherassumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
 
Motif Programming Manual3
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111. Introduction to Motif. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Basic User Interface Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . 2What Is Motif? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Designing User Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2. The Motif Programming Model . . . . . . . . . . . . . . . . . . . . . . . . 11
Basic X Toolkit Terminology and Concepts . . . . . . . . . . . . . . . . 11The Xm and Xt Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Programming With Xt and Motif . . . . . . . . . . . . . . . . . . . . . . . . 16Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3. Overview of the Motif Toolkit. . . . . . . . . . . . . . . . . . . . . . . . . . 41
The Motif Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Application Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Application Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Putting Together a Complete Application . . . . . . . . . . . . . . . . . . 65Changes in Motif 2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4. The Main Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Creating a MainWindow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98