NextPrevTopContents

Index

A

abort-dialog function 98 , 99

:action-callback initarg 28 , 31 , 34

apply-in-pane-process function 7 , 61

apropos-color-alias-names function 144

apropos-color-names function 144

apropos-color-spec-names function 144

augment-font-description function 136

B

background graphics state parameter 130

:best-height initarg 106

:best-width initarg 106

boole function 134

:buffer-name initarg 17

button panels

orientation 22 - 23

prompting with 94 - 95

button-panel class 22

buttons

check 19

push 18

radio 20

C

:callback initarg 16

callbacks

description of 8

general properties 34

graph panes 31

in interfaces 84 - 87

used for choices 27 - 28

using callback functions 11

:callback-type initarg 34 , 99

call-editor function 84

CAPI

basic objects 3

description of 1 - 3

linking code into 8

menu hierarchy 70

using the 6

changing titles interactively 14

check button panels 23

check buttons 19

check-button class 19 , 22

check-button-panel class 22 , 23 , 28 , 33

:children-function initarg 30

choice class 21

:choice-class initarg 94

choice-interaction accessor 33

choices 21 - 35

callbacks available 34

description of 21 - 35

general properties 33 - 35

relationship to menus 32

choice-selected-item accessor 34

choice-selected-items accessor 34

choice-selection accessor 29 , 34

classes

collections 22

creating your own 103 - 114

clear-external-image-conversions function 139

CLUE 2

CLX 2

collection class 21

collection-items accessor 64

collections

description of 21

collector panes 18

collector-pane class 18

colors

prompting for 96

colors= function 148

color-spec-model function 145

color-spec-p function 145

column-layout class 23 , 38 , 80

column-layout class 39

combo box 32

combo boxes 32

confirm-yes-or-no function 90

contain function 7 , 108

convert-color function 141 , 148

convert-external-image function 140

:create-callback initarg 61 , 140

creating menus 65

creating submenus 66

D

dash graphics state parameter 131

dashed graphics state parameter 131

:data callback type 34

:data initarg 8 , 19

:data-interface callback type 34

default settings

selections 29

:default-initargs class option 77 , 80

defclass macro 75 , 77 , 106

define-color-alias function 145

define-color-models macro 149

define-interface macro 75

arguments supplied to 77

defpackage function 6

delete-color-translation function 145 , 149

:description initarg 38

description of the CAPI 1 - 3

destroy generic function 64

dialogs

creating your own 98 - 102

description of 89 - 102

in front 97

owners 97 - 98

display callback 105

display function 7 , 8

display panes 15

:display-callback initarg 140

display-dialog function 98 , 100

displaying text on screen 15

display-message function 9 , 89

display-pane class 15 , 40

draw-circle function 105

draw-image function 137

drawn-pinboard-object class 108 , 111 , 128

draw-point function 107

drop-down list box 32

E

editor panes 16

editor-pane class 16 , 40 , 84

subclasses 17

editor-pane-text accessor 64 , 85

elements

creating your own 103 - 114

generic properties of 11 - 12

:enabled initarg 19

:enabled-function initarg 71

ensure-color function 148

ensure-model-color function 148

:evaluate keyword argument 96

event handlers 106 - 108 , ??- 108

execute-with-interface function 7 , 61

exit-confirmer function 100

exit-dialog function 98 , 99 , 100

:extend-callback initarg 28 , 31 , 34

extended selection

specifying 33

using on diferent platforms 33

:extended-selection interaction style 26 - 27 , 33

extension gesture 27

external constraints 44

external-image class 137

externalize-image function 139

:external-max-height initarg 44

:external-max-width initarg 44

:external-min-height initarg 44

:external-min-width initarg 44

F

files

prompting for 95 - 96

fill-style graphics state parameter 130

find-best-font function 135

find-matching-fonts function 135

font graphics state parameter 132

:font initarg 12

fonts 12

prompting for 96

foreground graphics state parameter 130

free-image function 137 , 140

free-image-access function 141

functions

sample 11

G

generic properties of elements 11 - 12

geometry of layouts, specifying 44 - 47

get-all-color-names function 144

get-color-alias-translation function 146

get-color-spec function 145

graph panes

callbacks 31

graphics

creating permanent displays 105

displaying 103 - 106

graphics ports 127

drawing functions 134

pixmap 134

graphics state 128

graphics state parameters 128

graph-pane class 29

implementation of 109

grid-layout class 41

H

hardcopy API 151 - 154

hierarchy of menus 70

hints 44

:horizontal-scroll initarg 12 , 39

I

image class 137

image-access-pixel function 141

image-access-transfer-from-image function 141

image-access-transfer-to-image function 141

:initial-value initarg 92

:input-model initarg 107

integers

prompting for 92 - 93

interaction

general properties 33

in lists 26

:interaction initarg 26 , 32 , 33 , 67 , 93

interactive streams 18

interactive-stream class 18

:interface callback type 34

interface class 3 , 75

interface-display generic function 62

interfaces

defining 75 - 87

description of 75

layouts, specifying 78

menus, specifying 81 - 84

panes, specifying 77

title, specifying 77

internal constraints 45

:internal-max-height initarg 45

:internal-max-width initarg 45

:internal-min-height initarg 45

:internal-min-width initarg 45

item-pinboard-object class 108

:items initarg 25 , 65 , 69

K

key press 106 - 108

L

:layout-class initarg 22

layout-description accessor 63

layouts

combining different 42 - 43

description of 37 - 47

introduction to 7

specifying geometry 44 - 47

specifying size of panes in 39

:layouts interface option 75

line-end-style graphics state parameter 131

line-joint-style graphics state parameter 131

Lisp forms

prompting for 96

list function 38

list items, specifying 25

list panels 24

listener panes 18

listener-pane class 18 , 40

list-panel class 24

lists

actions in 27

deselection in 27

extended selection in 26

extended selections 26

interaction in 26

multiple selection in 26

prompting with 93 - 95

retraction in 27

single selection in 26

load-color-database function 148

load-icon-image function 138 , 140

load-image function 140

M

make-container function 98

make-hsv function 145

make-image-access function 141

make-image-from-port function 140

make-instance function 5

make-menu-for-pane function 72

make-pane-popup-menu generic function 72

make-rgb function 145

make-sub-image function 140

mask graphics state parameter 131

mask-x graphics state parameter 131

mask-y graphics state parameter 132

:max keyword argument 92

max-height 45

max-width 45

MDI 51

menu class 3 , 65

:menu-bar interface option 75 , 81

:menu-bar-items initarg 66

menu-component class 66

menu-component class 3

menu-item class 3 , 69

menus

components 32

creating 65

creating submenus 66

description of 65 - 71

disabling items in 71

grouping items together 66 - 69

individual items in 69 - 70

menu hierarchy 70

nesting 66

:menus interface option 75 , 81

merge-font-descriptions function 136

:min keyword argument 92

min-height 45

min-width 45

Multiple-Document Interface 51

:multiple-selection interaction style 26 , 33 , 68

N

:none callback type 34

:no-selection interaction style 33

O

:ok-check keyword argument 92 , 97 , 102

operation graphics state parameter 130

option panes 32

option-pane class 32

organizing panes 38

output-pane class 72 , 103

P

:pane-args initarg 95

panel

button layout 22

pane-layout accessor 63

panels

check button 23

list 24

push button 22

radio button 23

:pane-menu initarg 72

pane-popup-menu-items generic function 72

panes

accessing 79

collector 18

creating your own 103 - 114

default title position 14

display 15

editor 16

finding 79

graphs 29

listener 18

lookup 79

option 32

organizing 38

sizing 39

text input 16

title 13

:panes interface option 75

:pathname keyword argument 96

pattern graphics state parameter 131

pinboard objects 108

creating your own 111 - 114

pinboard-layout class 42 , 108

pinboard-object class 108

popup-confirmer function 99 , 100

portable font descriptions 135 - 136

print function 21

print-dialog function 98

:print-function initarg 21

prompt-for-color function 96

prompt-for-confirmation function 91

prompt-for-directory function 96

prompt-for-file function 85 , 95 , 98

prompt-for-font function 96

prompt-for-form function 96

prompt-for-integer function 92 , 100

prompt-for-number function 93

prompt-for-string function 91 , 98 , 99

prompt-for-symbol function 97

prompt-with-list function 93

push button panels

creating 22

push buttons 18

push-button class 7 , 19 , 22

push-button-panel class 22

R

radio button panels

creating 23

radio buttons 20

radio-button class 20

radio-button-panel class 22 , 23 , 33

read-and-convert-external-image function 140

read-color-db function 148

:reader slot option 79

redisplay-interface function 101

register-image-translation function 139

:retract-callback initarg 19 , 27 , 31 , 34

row-layout class 23 , 38 , 39 , 80

S

scale-thickness graphics state parameter 131

scroll bars

programmatic control 63

specifying 12

scroll generic function 63

:selected initarg 20

:selected-item initarg 32 , 34

:selected-items initarg 34

selection gesture 27

:selection initarg 29 , 34

:selection-callback initarg 22 , 25 , 27 , 31 , 34 , 86

selections 26 - 29

default settings 29

extending 26

general properties 34

specifying multiple 33

setf function 14 , 19

set-graphics-state function 132

set-hint-table function 47

set-top-level-interface-geometry function 62

single selection

specifying 33

:single-selection interaction style 26 , 32 , 33 , 67

slot 5

slot-value function 5

specifying window titles 13 - 15

stipple graphics state parameter 130

streams

interactive 18

strings

prompting for 91

subclasses

finding 14

subclasses, finding 14

symbols

prompting for 97

T

text

displaying 16

displaying on screen 15

entering 16

:text initarg 12 , 15 , 17

text input panes 16

text-input-pane class 16

thickness graphics state parameter 131

:title initarg 14 , 77

title panes 13

titled-object class 13

titled-object-title accessor 85

titled-pane-title accessor 85

:title-font initarg 14

title-pane class 13

:title-position initarg 14 , 39

titles

changing interactively 14

specifying 13 , 13 - 15

top-level-interface-display-state function 64

transform graphics state parameter 130

U

unconvert-color function 141

user input 89 - 102

using callback functions 11

using the CAPI 6

V

:value-function keyword argument 100

values

prompting for 91 - 97

:vertical-scroll initarg 12 , 39

visible constraints 44

:visible-max-height initarg 44

:visible-max-width initarg 44

:visible-min-height initarg 44

:visible-min-width initarg 44

W

window titles

specifying 13 - 15

with-graphics-state macro 132

with-pixmap-graphics-port macro 128

Works menu

in CAPI objects 7

X

:x-ratios initarg 40

Y

:y-ratios initarg 40


LispWorks CAPI User Guide (Windows version) - 8 Apr 2005

NextPrevTopContents