OLIT QuickStart Programmer's Guide
  Suchtext Nur in diesem Buch
Dieses Buch im PDF-Format herunterladen

Preface

The purpose of the OPEN LOOK(R) Intrinsics Toolkit (OLIT) Quick-Start Programming Guide is to teach essential OLIT programming concepts quickly and easily. This manual describes OLIT widget set as well as essential X intrinsics functions. It is not intended as a comprehensive guide OLIT programming or the X Window System. For detailed X Window System(R) and X Window System Toolkit information, refer to the documents listed at the end of this preface.

Who Should Use This Book

Developers who are considering writing or porting applications to the Solaris operating environment using OLIT should read this book. This book is also helpful to developers who want to quickly assess the power, capability, and programming concepts of OLIT, before committing to its use.

Before You Read This Book

This book presumes that you know C programming and that you are familiar with a computer window system such as OpenWindows or SunView. Knowledge of X is helpful, but not essential.

How This Book Is Organized

Chapter 1, "Basic OLIT Concepts," describes fundamental OLIT concepts.
Chapter 2, "OLIT Program Structure," explains OLIT program structure by examining an example OLIT Program.
Chapter 3, "OLIT Resources," discusses OLIT Resource management.
Chapter 4, "Putting It All Together," shows some OLIT techniques and issues by describing an OLIT program in detail.
"Glossary," describes the terms used in this book.

Related Books

The following books may be of use in learning OLIT. To obtain them, call Sun Express (1-800-873-7869) or visit your local computer bookstore.
  • OLIT Reference Manual, Sun Microsystems, 1993, P/N 801-5316-10. This book is essential for programming in OLIT.
  • X Window System: Programming and Applications with Xt/ OPEN LOOK Edition, by Douglas Young & John Pew, published by Prentice Hall, ISBN 0-13-982992-X. The definitive OLIT programming manual.
  • X Window System Toolkit by Paul Asente & Ralph Swick from Digital Press, 1990, ISBN 1-55558-051-3. The best book on Xt Intrinsics programming.
  • X Toolkit Intrinsics Reference Manual, O'Reilly & Associates, Inc., ISBN 1-56592-007-4. Lists and describes Xt Intrinsics functions, prototypes, classes, utilities, data types, methods, events, translation tables in a single reference manual.

What Typographic Changes and Symbols Mean

The following table describes the type changes and symbols used in this book.
Table P-1
Typeface or SymbolMeaningExample
AaBbCc123The names of commands, files, and directories; on-screen computer outputEdit your .login file. Use ls -a to list all files. system% You have mail.
AaBbCc123What you type, contrasted with on-screen computer output

 system%su  
 Password:  

<AaBbCc123>Command-line placeholder:
replace with a real name or value
To delete a file, type rm <filename>.
AaBbCc123Book titles, new words or terms, or words to be emphasizedRead Chapter 6 in User's Guide. These are called class options. You must be root to do this.
Code samples are included in boxes and may display the following:
%UNIX C shell promptsystem%
$UNIX Bourne and Korn shell promptUNIX Bourne and Korn shell prompt
#Superuser prompt, all shellsSuperuser prompt, all shells