Next Prev Top Index

Contents

Preface

1 Introduction to the CAPI

1.1 What is the CAPI?

1.2 The history of the CAPI

1.3 The CAPI model

1.3.1 CAPI Classes

2 Getting Started

2.1 Using the CAPI package

2.2 Creating a window

2.3 Linking code into CAPI elements

3 Creating Common Windows

3.1 Generic properties

3.1.1 Scroll bars

3.1.2 Background and foreground colors

3.1.3 Fonts

3.2 Specifying titles

3.2.1 Title panes

3.2.2 Specifying titles directly

3.2.3 Display panes

3.3 Displaying and entering text

3.3.1 Text input panes

3.3.2 Editor panes

3.4 Stream panes

3.4.1 Collector panes

3.4.2 Interactive streams

3.4.3 Listener panes

3.5 Miscellaneous button elements

3.5.1 Push buttons

3.5.2 Check buttons

3.5.3 Radio buttons

4 Choices

4.1 Choice classes

4.1.1 Push button panels

4.1.2 Radio button panels

4.1.3 Check button panels

4.2 List panels

4.2.1 List interaction

4.2.2 Extended selection

4.2.3 Deselection, retraction, and actions

4.2.4 Selections

4.3 Graph panes

4.4 Option panes and drop-down list boxes

4.5 Menu components

4.6 General properties of choices

4.6.1 Interaction

4.6.2 Selections

4.6.3 Callbacks

5 Laying Out CAPI Panes

5.1 Organizing panes in columns and rows

5.2 Other types of layout

5.2.1 Grid layouts

5.2.2 Simple layouts

5.2.3 Pinboard layouts

5.3 Combining different layouts

5.4 Constraining the size of layouts

5.4.1 Width and Height Constraints

5.4.2 Constraint Formats

5.5 Advanced pane layouts

5.5.1 Switchable layouts

5.5.2 Tab layouts

5.5.3 Dividers

6 Creating Menus

6.1 Creating a menu

6.2 Grouping menu items together

6.3 Creating individual menu items

6.4 The CAPI menu hierarchy

6.5 Disabling menu items

7 Defining Interface Classes

7.1 The define-interface macro

7.2 An example interface

7.2.1 How the example works

7.3 Adapting the example

7.3.1 Adding menus

7.4 Connecting an interface to an application

8 Prompting for Input

8.1 Some simple dialogs

8.2 Prompting for values

8.2.1 Prompting for strings

8.2.2 Prompting for integers

8.2.3 Prompting for an item in a list

8.2.4 Prompting for files

8.2.5 Prompting for Lisp objects

8.3 Creating your own dialogs

8.3.1 Using display-dialog

8.3.2 Using popup-confirmer

9 Creating Your Own Panes

9.1 Displaying graphics

9.2 Receiving input from the user

9.3 Creating graphical objects

9.3.1 The implementation of graph panes

9.3.2 An example pinboard object

10 Graphics Ports

10.1 Introduction

10.1.1 The package

10.1.2 The system

10.1.3 Creating instances

10.2 Features

10.3 Graphics state

10.3.1 Setting the graphics state

10.4 Graphics state transforms

10.4.1 Generalized points

10.4.2 Drawing functions

10.5 Pixmap graphics ports

10.5.1 Relative drawing in pixmap graphics ports

10.6 Portable font descriptions

10.6.1 Font attributes and font descriptions

11 The Color System

11.1 Introduction

11.2 Reading the color database

11.3 Color specs

11.4 Color aliases

11.5 Color models

11.6 Loading the color database

11.7 Defining new color models

12 Printing from the CAPI--the Hardcopy API

12.1 Printers

12.2 Print jobs

12.3 Handling pages--page on demand printing

12.4 Handling pages--page sequential printing

12.5 Printing a page

12.5.1 Establishing a page transform

12.6 Other printing functions

Index

 


LispWorks CAPI User Guide - 14 Dec 2001

Next Prev Top Index