The Window Tool Kit

Contents


Contents
Copyright and Trademarks
1 - Introduction to the Window Tool Kit
1.1 - Basic elements and data structures
1.1.1 - Bitmaps and the screen
1.1.2 - Bitmap output streams
1.1.3 - Viewports
1.1.4 - Windows
1.1.5 - The viewport hierarchy
1.1.6 - Multiple root viewports
1.1.7 - The mouse and mouse input streams
1.1.8 - Pop-up menus
1.1.9 - Fonts
1.1.10 - Positions and regions
1.2 - Initializing the Window Tool Kit
1.3 - Restoring windows in a saved image
1.4 - Using this guide interactively
1.5 - Notational conventions and syntax
1.5.1 - Functions and generic functions
1.5.2 - Macros and special forms
1.5.3 - Global variables and constants
1.5.4 - Examples and code
2 - Bitmaps, Viewports, and Windows
2.1 - Understanding bitmaps, viewports, and windows
2.2 - Displaying bitmaps on the screen
2.2.1 - Making a bitmap
2.2.2 - Making a viewport
2.2.3 - Making a window
2.2.4 - Sending graphics output to bitmaps
2.2.5 - Using boolean operations with bitmaps
2.3 - The viewport hierarchy
2.3.1 - Changing a parent-child relationship
2.3.2 - Rules for viewport or window occlusion
2.4 - Moving and reshaping viewports and windows
2.5 - Scrolling windows
3 - The Mouse
3.1 - The mouse
3.2 - Mouse cursor objects
3.2.1 - Making mouse cursor objects
3.3 - Window system input
3.3.1 - Mouse documentation
3.4 - Obtaining mouse information
3.4.1 - Polling the mouse
3.4.2 - Queuing mouse events
3.4.3 - Active regions
3.4.3.1 - Active region events
3.4.3.2 - Multitasking and active region methods
3.4.3.3 - Using active regions
3.4.3.4 - Restricting mouse actions in active regions
3.4.3.5 - Preempting mouse methods
4 - Fonts
4.1 - Characteristics of fonts
4.2 - Using fonts
4.2.1 - Formatting text output
4.2.2 - Printing text output
4.2.3 - Changing fonts
4.2.4 - X11 fonts
5 - Pop-Up Menus
5.1 - Understanding pop-up menus
5.2 - Creating and using pop-up menus
5.3 - Pop-up menu code
6 - Keyboard Interrupt Characters
7 - Color in the Window Tool Kit
7.1 - About color
7.1.1 - Color pixels
7.1.2 - The color map
7.1.3 - The color registry
7.1.4 - Color bitmaps, viewports, and windows
7.2 - Using color in the Window Tool Kit
7.2.1 - The shortest route to displaying color
7.2.2 - Registering colors
7.2.3 - Finding information about registered colors
7.2.4 - Using registered colors
7.3 - Color checklist
7.4 - Color demonstration code
8 - Reference Pages
Glossary
Index

The Window Tool Kit - 9 SEP 1996

Generated with Harlequin WebMaker