All Manuals > CAPI User Guide and Reference Manual

Contents

Preface

1 Introduction to the CAPI

1.1 What is the CAPI?

1.2 The CAPI model

1.2.1 CAPI elements

1.3 The history of the CAPI

2 Getting Started

2.1 Using the CAPI package

2.2 Creating a window

2.3 Linking code into CAPI elements

3 General Properties of CAPI Panes

3.1 Generic properties

3.1.1 Scroll bars

3.1.2 Background and foreground colors

3.1.3 Fonts

3.1.4 Mnemonics

3.1.4.1 Controlling Mnemonics

3.1.4.2 Mnemonics on Microsoft Windows

3.1.5 Focus

3.1.5.1 Initial focus

3.1.5.2 Querying the focus

3.1.5.3 Setting the focus dynamically

3.1.6 Mouse cursor

3.2 Base classes

3.3 Specifying titles

3.3.1 Title panes

3.3.2 Specifying titles directly

3.3.2.1 Window titles

3.3.2.2 Titles for elements

3.4 Callbacks

3.5 Displaying and entering text

3.5.1 Display panes

3.5.2 Text input panes

3.5.3 Editor panes

3.5.3.1 Editor pane callbacks

3.5.3.2 Additional editor-pane functions

3.6 Displaying rich text

3.7 Hierarchy of panes

3.8 Accessing pane geometry

3.9 Special kinds of windows

3.9.1 Browser pane

3.9.2 OLE embedding and control

3.9.3 Cocoa views and application interfaces

3.9.4 Slider, Progress bar and Scroll bar

3.9.5 Text input range

3.9.6 Stream panes

3.9.6.1 Collector panes

3.9.6.2 Interactive panes

3.9.6.3 Listener panes

3.9.7 Shell pane

3.10 Button elements

3.10.1 Push buttons

3.10.2 Check buttons

3.10.3 Radio buttons

3.10.4 Mnemonics in buttons

3.11 Adding a toolbar to an interface

3.12 Tooltips

3.12.1 Tooltips for output panes

3.12.2 Tooltips for collections, elements and menu items

3.12.3 Tooltips for toolbar buttons

3.13 Screens

4 General Considerations

4.1 The correct thread for CAPI operations

4.2 Redisplay

4.2.1 Atomic redisplay

4.3 Support for multiple monitors

5 Choices - panes with items

5.1 Items

5.2 Button panel classes

5.2.1 Push button panels

5.2.2 Radio button panels

5.2.3 Check button panels

5.2.4 Mnemonics in button panels

5.2.5 Programming button panels

5.3 List panels

5.3.1 List interaction

5.3.2 Extended selection

5.3.3 Deselection, retraction, and actions

5.3.4 Selections in a list

5.3.5 Images and appearance

5.3.6 Filters

5.3.7 Multi-column list panels

5.3.8 Double list panel

5.3.9 Searching by keyboard input

5.4 Trees

5.4.1 Tree interaction

5.4.2 Images and appearance

5.5 Stacked trees

5.6 Graph panes

5.6.1 Changing the graphics in the graph

5.6.2 Controlling the layout

5.6.3 Accessing the topology of the graph

5.7 Option panes

5.7.1 Option panes with images

5.8 Text input choice

5.9 Menu components

5.10 General properties of choices

5.10.1 Interaction

5.10.2 Selections

5.10.3 Callbacks in choices

5.10.4 image-list, image-set and image-locator

5.11 Operations on collections (choices) and their items

5.11.1 Accessing items

5.11.2 Efficient manipulation of collection items

5.11.3 Searching in a collection

6 Laying Out CAPI Panes

6.1 Organizing panes in columns and rows

6.2 Other types of layout

6.2.1 Grid layouts

6.2.2 Simple layouts

6.2.3 Pinboard layouts

6.3 Combining different layouts

6.4 Specifying geometry hints

6.4.1 Width and height hints

6.4.1.1 Priority of constraints

6.4.2 Hint values formats

6.4.3 Initial constraints

6.5 Constraining the size of layouts

6.5.1 Default Constraints

6.5.2 Constraint Formats

6.5.2.1 Character constraints

6.5.2.2 String constraints

6.5.3 Changing the constraints

6.6 Other pane layouts

6.6.1 Switchable layouts

6.6.2 Tab layouts

6.6.3 Dividers and separators

6.6.4 Static layout

6.6.5 Interface toolbars

6.6.6 Docking layout

6.6.7 Multiple-Document Interface (MDI)

6.6.7.1 MDI example

6.7 Changing layouts and panes within a layout

7 Programming with CAPI Windows

7.1 Initialization

7.2 Resizing and positioning

7.2.1 Positioning CAPI windows

7.3 Geometric queries

7.4 Scrolling

7.4.1 Programmatic scrolling

7.4.2 Scroll values and initialization keywords

7.4.3 Automatic scrolling

7.5 Updating pane contents

7.5.1 Updating windows in real time

7.6 Edit actions on the active element

7.7 Manipulating top-level windows

7.7.1 Visibility and focus

7.7.2 Iconifying and restoring windows

7.7.3 Closing windows

7.7.4 Finding interfaces

7.7.5 Quitting applications

7.7.6 Preserving information when saving an IDE session

8 Creating Menus

8.1 Creating a menu

8.2 Presenting menus

8.3 Grouping menu items together

8.4 Creating individual menu items

8.5 The CAPI menu hierarchy

8.6 Mnemonics in menus

8.7 Accelerators in menus

8.7.1 Standard default accelerators

8.8 Alternative menu items

8.9 Disabling menu items

8.9.1 Dialogs and disabled menu items

8.10 Menus with images

8.11 The Edit menu on Cocoa

8.12 Popup menus for panes

8.13 Displaying menus programmatically

8.14 The Application menu

9 Adding Toolbars

9.1 Creating a toolbar button

9.2 Creating a toolbar with several buttons

9.2.1 Grouping toolbar buttons

9.2.2 Implicitly-created buttons

9.3 Specifying the image for a toolbar button

9.3.1 Specifying images for a group of toolbar buttons

9.4 Specifying toolbar callbacks

9.4.1 Sharing toolbar callbacks with menu items

9.4.2 Other types of callback for a toolbar button

9.5 Specifying tooltips for toolbar buttons

9.6 Modifying toolbars

9.6.1 User-customization of toolbars

9.6.2 Changing an interface toolbar programmatically

9.7 Advanced toolbar features

9.7.1 Toolbar items other than buttons with images

9.7.2 Alternative interaction in a toolbar

9.7.3 Toolbar buttons with menus

9.8 Disabling toolbar items

9.9 Non-standard toolbars

9.9.1 Changing a non-standard toolbar dynamically

10 Dialogs: Prompting for Input

10.1 Some simple dialogs

10.2 Prompting for values

10.2.1 Prompting for strings

10.2.2 Prompting for numbers

10.2.3 Prompting for an item in a list

10.2.4 Prompting for files

10.2.5 Prompting for fonts

10.2.6 Prompting for colors

10.2.7 Prompting for Lisp objects

10.3 Window-modal Cocoa dialogs

10.3.1 The :continuation argument

10.3.2 A dialog which is window-modal on Cocoa

10.4 Dialog Owners

10.4.1 The default owner

10.4.2 Specifying the owner

10.5 Creating your own dialogs

10.5.1 Using popup-confirmer

10.5.2 Using display-dialog

10.5.3 Modal and non-modal dialogs

10.5.4 Getting the current dialog

10.6 In-place completion

10.6.1 In-place completion user interface

10.6.1.1 Invoking in-place completion in text-input-pane and editor-pane

10.6.1.2 Keyboard input handling while the in-place window is displayed

10.6.1.3 Performing a completion

10.6.1.4 Interaction while the in-place window is displayed

10.6.2 Programmatic control of in-place completion

10.6.2.1 Text input panes

10.6.2.2 Editor panes

10.6.2.3 Other CAPI panes

11 Defining Interface Classes - top level windows

11.1 The define-interface macro

11.2 An example interface

11.2.1 How the example works

11.3 Adapting the example

11.3.1 Adding menus

11.4 Connecting an interface to an application

11.5 Controlling the appearance of the top level window

11.5.1 Window styles

11.5.2 Controlling the interface title

11.5.3 Indicating a changed document

11.6 Querying and modifying interface geometry

11.6.1 Support for multiple monitors

11.6.2 Saving and restoring top-level geometry

12 Creating Panes with Your Own Drawing and Input

12.1 Displaying graphics

12.2 Receiving input from the user

12.2.1 Detailed description of the input model

12.2.1.1 Gesture Spec mappings

12.2.1.2 Character mappings

12.2.1.3 Button mappings

12.2.1.4 Modifier change mappings

12.2.1.5 Key mappings

12.2.1.6 Motion mappings

12.2.1.7 Command mappings

12.2.1.8 Touch mappings

12.2.1.9 Notes about touch mappings

12.2.1.10 Processing user input

12.2.2 Commands - aliases

12.2.3 Native input method

12.2.4 Composition of characters

12.3 Creating graphical objects

12.3.1 Buffered drawing

12.3.2 Finding pinboard objects from coordinates

12.3.3 The implementation of graph panes

12.3.4 An example pinboard object

12.3.5 Simple pinboard layout

12.3.6 Tracking pinboard layout

12.4 output-pane scrolling

12.4.1 Ordinary scrolling

12.4.2 Internal scrolling

12.5 Transient display on output-pane and subclasses

13 Drawing - Graphics Ports

13.1 Introduction

13.1.1 Creating instances

13.1.2 Pixmaps and Metafiles

13.2 Features

13.2.1 The drawing mode and anti-aliasing

13.3 Graphics state

13.3.1 Setting the graphics state

13.4 Drawing functions

13.4.1 Text

13.4.2 Simple lines

13.4.3 Simple shapes

13.4.4 Paths

13.5 How to draw to an on-screen port

13.6 Graphics state transforms

13.6.1 Generalized points

13.6.2 Drawing on screen

13.7 Combining source and target pixels

13.7.1 Combining pixels with :compatible drawing

13.7.2 Combining pixels with :quality drawing

13.8 Pixmap graphics ports

13.8.1 Relative drawing in pixmap graphics ports

13.9 Portable font descriptions

13.9.1 Font attributes and font descriptions

13.9.2 Fonts

13.9.3 Font aliases

13.10 Working with images

13.10.1 Image formats supported for reading from disk and drawing

13.10.2 Image formats supported for writing to disk

13.10.3 External images

13.10.3.1 Converting an external image

13.10.3.2 Transparency and the alpha channel

13.10.4 Registering images

13.10.5 Making an image that is suitable for drawing

13.10.6 Querying image dimensions

13.10.7 Drawing images

13.10.8 Image access

13.10.8.1 Pre-multiplied pixel values in images

13.10.9 Creating external images from Graphics Ports operations

14 Graphic Tools drawing objects

14.1 Lower level - drawing objects and objects displayers

14.2 Higher level - drawing graphs and bar charts

15 The Color System

15.1 Color specs

15.2 Color aliases

15.3 Color models

15.4 Loading the color database

15.5 Defining new color models

16 Printing from the CAPI - the Hardcopy API

16.1 Printers

16.1.1 Standard shortcut keys in printer dialogs

16.2 Print jobs

16.3 Handling pages - page on demand printing

16.4 Handling pages - page sequential printing

16.5 Printing a page

16.5.1 Establishing a page transform

16.6 Other printing functions

16.7 Printing on Motif

16.7.1 Printer definition files

16.7.2 PPD files

16.7.3 Adding and removing printers

17 Drag and Drop

17.1 Overview of drag and drop

17.1.1 Drag and drop with other applications

17.1.2 Drag and drop within a CAPI application

17.2 Dragging

17.2.1 Dragging values from a choice

17.2.1.1 Example: dragging from a tree

17.2.2 Dragging within an output-pane

17.2.3 Dragging values from an output-pane

17.2.3.1 Dragging editor-pane text

17.2.4 Data formats

17.2.5 Dragging a Cocoa title bar image

17.3 Dropping

17.3.1 The drop callback

17.3.2 Dropping in a choice

17.3.2.1 Example: dropping in a list

17.3.3 Dropping text in an editor-pane

17.3.4 Dropping in an output-pane

17.4 Limitations of CAPI drag and drop

18 Miscellaneous functionality

18.1 Development functions

18.2 Sounds

18.2.1 Sound API

18.2.2 Beep

18.3 Modifier keys state

18.4 Restoring display while debugging

18.5 Object properties and name

18.6 Clipboard

18.7 Handles

18.8 Setting the font and colors for specific panes in specific interfaces.

19 Host Window System-specific issues

19.1 Microsoft Windows-specific issues

19.1.1 Using Windows themes

19.1.2 The break gesture

19.2 Cocoa-specific issues

19.2.1 The break gesture

19.2.2 The Cocoa application interface

19.3 GTK+-specific issues

19.3.1 The break gesture

19.3.2 Matching resources for GTK+

19.3.2.1 Resources on GTK+

19.3.2.2 Resources for CAPI/GTK+ applications

19.3.2.3 X resources for in-place completion windows

19.4 Motif-specific issues

19.4.1 Using Motif

19.4.1.1 Using Motif on Linux, FreeBSD and x86/x64 Solaris

19.4.1.2 Using Motif on Macintosh

19.4.2 The break gesture

19.4.3 Matching resources for X11/Motif

19.4.3.1 Resources on X11/Motif

19.4.3.2 Resources for CAPI/Motif applications

19.5 CAPI communication with host window system - libraries

20 Self-contained examples

20.1 Output pane examples

20.2 Graphics examples

20.3 Pinboard examples

20.4 Examples using timers to implement "animation"

20.5 Drag and Drop examples

20.6 Graph examples

20.7 Cocoa-specific examples

20.8 Examples of complete CAPI applications

20.9 Choice examples

20.10 Examples of dialogs and prompts

20.11 editor-pane examples

20.12 Menu examples

20.13 Miscellaneous examples

20.14 GTK+ specific examples

20.15 Motif specific examples

20.16 Layout examples

20.17 Tooltip examples

20.18 Examples illustrating other pane classes

20.19 Printing examples

20.20 Graphic Tools examples

21 CAPI Reference Entries

abort-callback

abort-dialog

abort-exit-confirmer

accepts-focus-p

activate-pane

active-pane-copy

active-pane-copy-p

active-pane-cut

active-pane-cut-p

active-pane-deselect-all

active-pane-deselect-all-p

active-pane-paste

active-pane-paste-p

active-pane-select-all

active-pane-select-all-p

active-pane-undo

active-pane-undo-p

append-items

apply-in-pane-process

apply-in-pane-process-if-alive

apply-in-pane-process-wait-multiple

apply-in-pane-process-wait-single

arrow-pinboard-object

attach-interface-for-callback

attach-simple-sink

attach-sink

beep-pane

browser-pane

browser-pane-available-p

browser-pane-busy

browser-pane-go-back

browser-pane-go-forward

browser-pane-navigate

browser-pane-property-get

browser-pane-property-put

browser-pane-refresh

browser-pane-set-content

browser-pane-stop

button

button-panel

calculate-constraints

calculate-layout

callbacks

call-editor

can-use-metafile-p

capi-object

capi-object-property

check-button

check-button-panel

choice

choice-selected-item

choice-selected-item-p

choice-selected-items

choice-update-item

clipboard

clipboard-empty

clone

cocoa-default-application-interface

cocoa-view-pane

cocoa-view-pane-view

collect-interfaces

collection

collection-find-next-string

collection-find-string

collection-last-search

collection-search

collector-pane

color-screen

column-layout

component-name

confirmer-pane

confirm-quit

confirm-yes-or-no

contain

convert-relative-position

convert-to-screen

count-collection-items

create-dummy-graphics-port

current-dialog-handle

current-document

current-pointer-position

current-popup

current-printer

*default-editor-pane-line-wrap-marker*

default-library

*default-non-focus-message-timeout*

*default-non-focus-message-timeout-extension*

define-command

define-interface

define-layout

define-menu

define-ole-control-component

destroy

destroy-dependent-object

detach-simple-sink

detach-sink

display

display-dialog

display-errors

display-message

display-message-for-pane

display-non-focus-message

display-pane

display-pane-selected-text

display-pane-selection

display-pane-selection-p

display-popup-menu

display-replacable-dialog

display-tooltip

docking-layout

docking-layout-pane-docked-p

docking-layout-pane-visible-p

document-container

document-frame

double-headed-arrow-pinboard-object

double-list-panel

drag-pane-object

draw-metafile

draw-metafile-to-image

drawn-pinboard-object

draw-pinboard-layout-objects

draw-pinboard-object

draw-pinboard-object-highlighted

drop-object-allows-drop-effect-p

drop-object-collection-index

drop-object-collection-item

drop-object-drop-effect

drop-object-get-object

drop-object-pane-x

drop-object-pane-y

drop-object-provides-format

*echo-area-cursor-inactive-style*

echo-area-pane

*editor-cursor-active-style*

*editor-cursor-color*

*editor-cursor-drag-style*

*editor-cursor-inactive-style*

editor-pane

editor-pane-blink-rate

editor-pane-buffer

*editor-pane-composition-selected-range-face-plist*

editor-pane-default-composition-callback

*editor-pane-default-composition-face*

editor-pane-native-blink-rate

editor-pane-selected-text

editor-pane-selected-text-p

editor-pane-stream

editor-window

element

element-container

element-interface-for-callback

element-screen

ellipse

end-pane-drag-operation

ensure-area-visible

ensure-interface-screen

execute-with-interface

execute-with-interface-if-alive

exit-confirmer

exit-dialog

expandable-item-pinboard-object

extended-selection-tree-view

filtering-layout

filtering-layout-match-object-and-exclude-p

find-graph-edge

find-graph-node

find-interface

find-string-in-collection

force-screen-update

force-update-all-screens

foreign-owned-interface

form-layout

free-metafile

free-sound

get-collection-item

get-constraints

get-horizontal-scroll-parameters

get-page-area

get-printer-metrics

get-scroll-position

get-vertical-scroll-parameters

graph-edge

graph-node

graph-node-children

graph-object

graph-pane

graph-pane-add-graph-node

graph-pane-delete-object

graph-pane-delete-objects

graph-pane-delete-selected-objects

graph-pane-direction

graph-pane-edges

graph-pane-nodes

graph-pane-object-at-position

graph-pane-select-graph-nodes

graph-pane-update-moved-objects

grid-layout

hide-interface

hide-pane

highlight-pinboard-object

image-list

image-locator

image-pinboard-object

image-set

installed-libraries

install-postscript-printer

interactive-pane

interactive-pane-execute-command

interface

interface-customize-toolbar

interface-display

interface-display-title

interface-document-modified-p

interface-editor-pane

interface-extend-title

interface-geometry

interface-iconified-p

interface-keys-style

interface-match-p

interface-menu-groups

interface-preserve-state

interface-preserving-state-p

interface-reuse-p

interface-toolbar-state

interface-visible-p

interpret-description

invalidate-pane-constraints

invoke-command

invoke-untranslated-command

item

itemp

item-pane-interface-copy-object

item-pinboard-object

labelled-arrow-pinboard-object

labelled-line-pinboard-object

layout

line-pinboard-object

line-pinboard-object-coordinates

listener-pane

listener-pane-insert-value

list-panel

list-panel-enabled

list-panel-filter-state

list-panel-items-and-filter

list-panel-search-with-function

list-panel-unfiltered-items

list-view

load-cursor

load-sound

locate-interface

lower-interface

make-container

make-docking-layout-controller

make-foreign-owned-interface

make-general-image-set

make-icon-resource-image-set

make-image-locator

make-menu-for-pane

make-pane-popup-menu

make-resource-image-set

make-scaled-general-image-set

make-scaled-image-set

make-sorting-description

manipulate-pinboard

map-collection-items

map-pane-children

map-pane-descendant-children

map-typeout

*maximum-moving-objects-to-track-edges*

menu

menu-component

menu-item

menu-object

merge-menu-bars

message-pane

metafile-port

modify-editor-pane-buffer

modify-multi-column-list-panel-columns

modify-stacked-tree

mono-screen

move-line

multi-column-list-panel

multi-line-text-input-pane

non-focus-list-add-filter

non-focus-list-interface

non-focus-list-remove-filter

non-focus-list-toggle-enable-filter

non-focus-list-toggle-filter

non-focus-maybe-capture-gesture

non-focus-terminate

non-focus-update

ole-control-add-verbs

ole-control-close-object

ole-control-component

ole-control-doc

ole-control-frame

ole-control-i-dispatch

ole-control-insert-object

ole-control-ole-object

ole-control-pane

ole-control-pane-frame

ole-control-pane-simple-sink

ole-control-user-component

option-pane

output-pane

output-pane-cached-display-user-info

output-pane-cache-display

output-pane-draw-from-cached-display

output-pane-free-cached-display

output-pane-resize

output-pane-stop-composition

over-pinboard-object-p

page-setup-dialog

pane-adjusted-offset

pane-adjusted-position

pane-can-restore-display-p

pane-close-display

pane-descendant-child-with-focus

pane-drag-operation-update

pane-got-focus

pane-has-focus-p

pane-initial-focus

pane-interface-copy-object

pane-interface-copy-p

pane-interface-cut-object

pane-interface-cut-p

pane-interface-deselect-all

pane-interface-deselect-all-p

pane-interface-paste-object

pane-interface-paste-p

pane-interface-select-all

pane-interface-select-all-p

pane-interface-undo

pane-interface-undo-p

pane-modifiers-state

pane-popup-menu-items

pane-restore-display

pane-screen-internal-geometry

pane-string

pane-supports-menus-with-images

parse-layout-descriptor

password-pane

pinboard-layout

pinboard-layout-display

pinboard-object

pinboard-object-at-position

pinboard-object-graphics-arg

pinboard-object-highlighted-p

pinboard-object-overlap-p

pinboard-pane-position

pinboard-pane-size

play-sound

popup-confirmer

popup-menu-button

popup-menu-force-popdown

*ppd-directory*

print-capi-button

print-collection-item

print-dialog

print-editor-buffer

printer-configuration-dialog

printer-metrics

printer-port

printer-port-handle

printer-port-supports-p

*printer-search-path*

print-file

print-rich-text-pane

print-text

process-pending-messages

progress-bar

prompt-for-color

prompt-for-confirmation

prompt-for-directory

prompt-for-file

prompt-for-files

prompt-for-font

prompt-for-form

prompt-for-forms

prompt-for-integer

prompt-for-items-from-list

prompt-for-number

prompt-for-string

prompt-for-symbol

prompt-for-value

prompt-with-list

prompt-with-list-non-focus

prompt-with-message

push-button

push-button-panel

quit-interface

radio-button

radio-button-panel

raise-interface

range-pane

range-set-sizes

read-sound-file

record-dependent-object

rectangle

redisplay-collection-item

redisplay-element

redisplay-interface

redisplay-menu-bar

redraw-drawing-with-cached-display

redraw-pinboard-layout

redraw-pinboard-object

reinitialize-interface

remove-capi-object-property

remove-items

replace-dialog

replace-items

report-active-component-failure

reuse-interfaces-p

rich-text-pane

rich-text-pane-character-format

rich-text-pane-operation

rich-text-pane-paragraph-format

rich-text-version

right-angle-line-pinboard-object

row-layout

screen

screen-active-interface

screen-active-p

screen-internal-geometries

screen-internal-geometry

screen-logical-resolution

screen-monitor-geometries

screens

scroll

scroll-bar

scroll-if-not-visible-p

search-for-item

selection

selection-empty

set-application-interface

set-button-panel-enabled-items

set-clipboard

set-composition-placement

set-confirm-quit-flag

set-default-editor-pane-blink-rate

set-default-interface-prefix-suffix

set-default-use-native-input-method

set-display-pane-selection

set-drop-object-supported-formats

set-editor-parenthesis-colors

set-geometric-hint

set-hint-table

set-horizontal-scroll-parameters

set-interactive-break-gestures

set-interface-pane-name-appearance

set-interface-pane-type-appearance

set-list-panel-keyboard-search-reset-time

set-object-automatic-resize

set-pane-focus

set-printer-metrics

set-printer-options

set-rich-text-pane-character-format

set-rich-text-pane-paragraph-format

set-selection

set-text-input-pane-selection

set-top-level-interface-geometry

set-vertical-scroll-parameters

shell-pane

show-interface

show-pane

simple-layout

simple-network-pane

simple-pane

simple-pane-handle

simple-pane-visible-height

simple-pane-visible-size

simple-pane-visible-width

simple-pinboard-layout

simple-print-port

slider

sorted-object

sorted-object-sort-by

sorted-object-sorted-by

sort-object-items-by

stacked-tree

stacked-tree-decrease-font-height

stacked-tree-default-color-function

stacked-tree-history-backward

stacked-tree-history-forward

stacked-tree-increase-font-height

stacked-tree-item-at-point

stacked-tree-width-ratio

stacked-tree-zoom-by-factor

start-drawing-with-cached-display

start-gc-monitor

start-pane-drag-operation

static-layout

static-layout-child-geometry

static-layout-child-position

static-layout-child-size

stop-gc-monitor

stop-sound

switchable-layout

switchable-layout-switchable-children

tab-layout

tab-layout-panes

tab-layout-visible-child

text-input-choice

text-input-pane

text-input-pane-append-recent-items

text-input-pane-complete-text

text-input-pane-copy

text-input-pane-cut

text-input-pane-delete

text-input-pane-delete-recent-items

text-input-pane-in-place-complete

text-input-pane-paste

text-input-pane-prepend-recent-items

text-input-pane-recent-items

text-input-pane-replace-recent-items

text-input-pane-selected-text

text-input-pane-selection

text-input-pane-selection-p

text-input-pane-set-recent-items

text-input-range

titled-menu-object

titled-object

titled-pinboard-object

title-pane

toolbar

toolbar-button

toolbar-component

toolbar-object

top-level-interface

top-level-interface-color-mode

top-level-interface-dark-mode-p

top-level-interface-display-state

top-level-interface-geometry

top-level-interface-geometry-key

top-level-interface-p

top-level-interface-save-geometry-p

tracking-pinboard-layout

tree-view

tree-view-ensure-visible

tree-view-expanded-p

tree-view-item-checkbox-status

tree-view-item-children-checkbox-status

tree-view-update-an-item

tree-view-update-item

undefine-menu

unhighlight-pinboard-object

uninstall-postscript-printer

unmap-typeout

unrecord-dependent-object

update-all-interface-titles

update-drawing-with-cached-display

update-drawing-with-cached-display-from-points

update-interface-title

update-internal-scroll-parameters

update-pinboard-object

*update-screen-interfaces-hooks*

update-screen-interface-titles

update-toolbar

virtual-screen-geometry

with-atomic-redisplay

with-busy-interface

with-dialog-results

with-document-pages

with-external-metafile

with-geometry

with-internal-metafile

with-output-to-printer

with-page

with-page-transform

with-print-job

with-random-typeout

wrap-text

wrap-text-for-pane

x-y-adjustable-layout

22 GRAPHICS-PORTS Reference Entries

2pi

analyze-external-image

apply-rotation

apply-rotation-around-point

apply-scale

apply-translation

augment-font-description

clear-external-image-conversions

clear-graphics-port

clear-graphics-port-state

clear-rectangle

compress-external-image

compute-char-extents

convert-external-image

convert-to-font-description

copy-area

copy-external-image

copy-pixels

copy-transform

create-pixmap-port

*default-image-translation-table*

define-font-alias

destroy-pixmap-port

dither-color-spec

draw-arc

draw-arcs

draw-character

draw-circle

draw-ellipse

draw-image

draw-line

draw-lines

draw-path

draw-point

draw-points

draw-polygon

draw-polygons

draw-rectangle

draw-rectangles

draw-string

ensure-gdiplus

external-image

external-image-color-table

externalize-and-write-image

externalize-image

f2pi

find-best-font

find-matching-fonts

font

font-description

font-description

font-description-attributes

font-description-attribute-value

font-dual-width-p

font-fixed-width-p

font-single-width-p

fpi

fpi-by-2

free-image

free-image-access

get-bounds

get-character-extent

get-char-ascent

get-char-descent

get-char-width

get-enclosing-rectangle

get-font-ascent

get-font-average-width

get-font-descent

get-font-height

get-font-width

get-graphics-state

get-origin

get-string-extent

get-transform-scale

graphics-port-background

graphics-port-font

graphics-port-foreground

graphics-port-mixin

graphics-port-transform

graphics-state

image

image-access-height

image-access-pixel

image-access-pixels-from-bgra

image-access-pixels-to-bgra

image-access-transfer-from-image

image-access-transfer-to-image

image-access-width

image-freed-p

image-loader

image-translation

initialize-dithers

inset-rectangle

inside-rectangle

invalidate-rectangle

invalidate-rectangle-from-points

invert-transform

list-all-font-names

list-known-image-formats

load-icon-image

load-image

make-dither

make-font-description

make-graphics-state

make-image

make-image-access

make-image-from-port

make-scaled-sub-image

make-sub-image

make-transform

merge-font-descriptions

offset-rectangle

ordered-rectangle-union

pi-by-2

pixblt

pixmap-port

port-drawing-mode-quality-p

port-graphics-state

port-height

port-owner

port-string-height

port-string-width

port-width

postmultiply-transforms

premultiply-transforms

read-and-convert-external-image

read-external-image

rectangle-bind

rectangle-bottom

rectangle-height

rectangle-left

rectangle-right

rectangle-top

rectangle-union

rectangle-width

rect-bind

register-image-load-function

register-image-translation

reset-image-translation-table

separation

set-default-image-load-function

set-graphics-port-coordinates

set-graphics-state

transform

transform-area

transform-distance

transform-distances

transform-is-rotated

transform-point

transform-points

transform-rect

undefine-font-alias

union-rectangle

*unit-transform*

unit-transform-p

unless-empty-rect-bind

untransform-distance

untransform-distances

untransform-point

untransform-points

validate-rectangle

with-dither

with-graphics-mask

with-graphics-post-translation

with-graphics-rotation

with-graphics-scale

with-graphics-state

with-graphics-transform

with-graphics-transform-reset

with-graphics-translation

with-inverse-graphics

without-relative-drawing

with-pixmap-graphics-port

with-transformed-area

with-transformed-point

with-transformed-points

with-transformed-rect

write-external-image

23 LW-GT Reference Entries

apply-drawing-object

basic-graph-spec

basic-graph-spec-p

compound-drawing-object

compute-drawing-object-from-data

copy-basic-graph-spec

drawing-object

fit-object

force-objects-redraw

generate-bar-chart

generate-graph-from-graph-spec

generate-graph-from-pairs

generate-grid-lines

generate-labels

geometry-drawing-object

make-absolute-drawing

make-absolute-drawing*

make-a-drawing-call

make-basic-graph-spec

make-draw-arc

make-draw-circle

make-draw-ellipse

make-draw-line

make-draw-lines

make-draw-polygon

make-draw-rectangle

make-draw-string

make-pinboard-objects-displayer

objects-displayer

pinboard-objects-displayer

position-and-fit-object

position-object

recurse-compute-drawing-object

rotate-object

string-drawing-object

24 COLOR Reference Entries

apropos-color-alias-names

apropos-color-names

apropos-color-spec-names

color-alpha

color-blue

*color-database*

color-from-premultiplied

color-green

color-hue

color-level

color-model

color-red

colors=

color-saturation

color-to-premultiplied

color-value

color-with-alpha

convert-color

define-color-alias

define-color-models

delete-color-translation

ensure-color

ensure-gray

ensure-hsv

ensure-model-color

ensure-rgb

get-all-color-names

get-color-alias-translation

get-color-spec

load-color-database

make-gray

make-hsv

make-rgb

read-color-db

unconvert-color

Index


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:22