Sun Microsystems SunWindows — Sun Microsystems SunWindows: Руководство программиста - Полное введение в систему окон

0 Preface Welcome to SunWindows, the Sun window system. This Sun Window, Programmer', Guide pro- vides a tutorial introduction to the overall Sun Windows structure, to writing a tool, and to han- dling graphics applications in a window. It also points you to additional information in the Programmer', Reference Manual for Sun Window,. Who Should Read tbia Guide This guide is intended for the programmer who wants tutorial instructions on how to write an application program using the SunWindows facilities. We assume a working understanding of UNIX, 1/0 concepts, and the C programming language and some knowledge of signals.

We also assume that you are using a Sun workstation with a mouse so you can experiment with the examples. 0 How to Use thla Gulde We recommend that you sit down at your workstation with this guide and try the examples as you read about them. Be sure to read the explanations in the order presented so you under- stand the terminoiogy and basic concepts that we build on in subsequent chapters. At times we provide rather sketchy descriptions to give you the general idea, but not the details. When you are ready to study the details of the window system, refer to the Programmer', Reference Manual /or Sun Window,.

You may want to glance through it and return to the appropriate chapters as the need arises. Use the index to find detailed accounts of item glossed over in this guide. There are examples of window system application code in the appendices of the reference manual that you may also want to use. For an elementl introdw,tion to the general use of the mouse, the SunWindows pop-up menus, and the acilities provided with SunWindows, see the Beginner'• Guide to the Sun Work,tation and t e ,unlool:(l) entry in the U,er'• Manual/or the Sun Workatation. Guide Contents This guide contains the following: 0 -xv-