NextPrevTopContents

Index

A

abort-dialog function 88 , 89

:action-callback initarg 28 , 31 , 34

apply-in-pane-process function 7 , 53

apropos-color-alias-names function 122

apropos-color-names function 122

apropos-color-spec-names function 122

augment-font-description function 114

B

background graphics state parameter 108

:best-height initarg 96

:best-width initarg 96

boole function 112

button panels

orientation 22 - 23

prompting with 84 - 85

button-panel class 22

buttons

check 19

push 18

radio 19

C

:callback initarg 16

callbacks

description of 8

general properties 34

graph panes 31

in interfaces 74 - 77

used for choices 27 - 28

using callback functions 11

:callback-type initarg 34 , 89

call-editor function 74

CAPI

basic objects 3

description of 1 - 3

linking code into 8

menu hierarchy 62

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 84

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 93 - 104

clear-external-image-conversions function 117

CLUE 2

CLX 2

collection class 21

collection-items accessor 56

collections

description of 21

collector panes 17

collector-pane class 17

colors

prompting for 86

colors= function 126

color-spec-model function 123

color-spec-p function 123

column-layout class 23 , 38 , 70

column-layout class 39

combo box 32

combo boxes 32

confirm-yes-or-no function 80

contain function 7 , 98

convert-color function 119 , 126

convert-external-image function 118

:create-callback initarg 53

creating menus 57

creating submenus 58

D

dash graphics state parameter 109

dashed graphics state parameter 109

:data callback type 34

:data initarg 8 , 18

:data-interface callback type 34

default settings

selections 29

:default-initargs class option 67 , 70

defclass macro 65 , 67 , 96

define-color-alias function 123

define-color-models macro 126

define-interface macro 65

arguments supplied to 67

defpackage function 6

delete-color-translation function 123 , 126

:description initarg 38

description of the CAPI 1 - 3

destroy generic function 56

dialogs

creating your own 88 - 92

description of 79 - 92

in front 87

owners 87 - 88

display callback 95

display function 7 , 8

display panes 15

display-dialog function 88 , 90

displaying text on screen 15

display-message function 9 , 79

display-pane class 15 , 40

draw-circle function 95

draw-image function 115

drawn-pinboard-object class 98 , 101 , 106

draw-point function 97

drop-down list box 32

E

editor panes 16

editor-pane class 16 , 40 , 74

subclasses 17

editor-pane-text accessor 56 , 75

elements

creating your own 93 - 104

generic properties of 11 - 12

:enabled initarg 18

:enabled-function initarg 63

ensure-color function 125

ensure-model-color function 125

:evaluate keyword argument 86

event handlers 96 - 98 , ??- 98

execute-with-interface function 7 , 53

exit-confirmer function 90

exit-dialog function 88 , 89 , 90

: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 115

externalize-image function 117

:external-max-height initarg 44

:external-max-width initarg 44

:external-min-height initarg 44

:external-min-width initarg 44

F

files

prompting for 85 - 86

fill-style graphics state parameter 108

find-best-font function 113

find-matching-fonts function 113

font graphics state parameter 110

:font initarg 12

fonts 12

prompting for 86

foreground graphics state parameter 108

free-image function 115 , 118

free-image-access function 119

functions

sample 11

G

generic properties of elements 11 - 12

geometry of layouts, specifying 44 - 47

get-all-color-names function 122

get-color-alias-translation function 124

get-color-spec function 123

graph panes

callbacks 31

graphics

creating permanent displays 95

displaying 93 - 96

graphics ports 105

drawing functions 112

pixmap 112

graphics state 106

graphics state parameters 106

graph-pane class 29

implementation of 99

grid-layout class 41

H

hardcopy API 129 - 132

hierarchy of menus 62

hints 44

:horizontal-scroll initarg 12 , 39

I

image class 115

image-access-pixel function 119

image-access-transfer-from-image function 118 , 119

image-access-transfer-to-image function 119

:initial-value initarg 82

:input-model initarg 97

integers

prompting for 82 - 83

interaction

general properties 33

in lists 26

:interaction initarg 26 , 32 , 33 , 59 , 83

interactive streams 18

interactive-stream class 18

:interface callback type 34

interface class 3 , 65

interface-display generic function 54

interfaces

defining 65 - 77

description of 65

layouts, specifying 68

menus, specifying 71 - 74

panes, specifying 67

title, specifying 67

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 98

:items initarg 25 , 57 , 61

K

key press 96 - 98

L

:layout-class initarg 22

layout-description accessor 55

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 65

line-end-style graphics state parameter 109

line-joint-style graphics state parameter 109

Lisp forms

prompting for 86

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 83 - 85

retraction in 27

single selection in 26

load-color-database function 126

load-icon-image function 116 , 118

load-image function 118

M

make-container function 88

make-hsv function 123

make-image-access function 118

make-image-from-port function 118

make-instance function 5

make-menu-for-pane function 64

make-pane-popup-menu generic function 64

make-rgb function 123

make-sub-image function 118

mask graphics state parameter 109

mask-x graphics state parameter 109

mask-y graphics state parameter 110

:max keyword argument 82

max-height 45

max-width 45

MDI 51

menu class 3 , 57

:menu-bar interface option 65 , 71

:menu-bar-items initarg 58

menu-component class 58

menu-component class 3

menu-item class 3 , 61

menus

components 32

creating 57

creating submenus 58

description of 57 - 63

disabling items in 63

grouping items together 58 - 61

individual items in 61 - 62

menu hierarchy 62

nesting 58

:menus interface option 65 , 71

merge-font-descriptions function 114

:min keyword argument 82

min-height 45

min-width 45

Multiple-Document Interface 51

:multiple-selection interaction style 26 , 33 , 60

N

:none callback type 34

:no-selection interaction style 33

O

:ok-check keyword argument 82 , 87 , 92

operation graphics state parameter 108

option panes 32

option-pane class 32

organizing panes 38

output-pane class 64 , 93

P

:pane-args initarg 85

panel

button layout 22

pane-layout accessor 55

panels

check button 23

list 24

push button 22

radio button 23

:pane-menu initarg 64

pane-popup-menu-items generic function 64

panes

accessing 69

collector 17

creating your own 93 - 104

default title position 14

display 15

editor 16

finding 69

graphs 29

listener 18

lookup 69

option 32

organizing 38

sizing 39

text input 16

title 13

:panes interface option 65

:pathname keyword argument 86

pattern graphics state parameter 109

pinboard objects 98

creating your own 101 - 104

pinboard-layout class 42 , 98

pinboard-object class 98

popup-confirmer function 89 , 90

portable font descriptions 113 - 114

print function 21

print-dialog function 88

:print-function initarg 21

prompt-for-color function 86

prompt-for-confirmation function 81

prompt-for-directory function 86

prompt-for-file function 75 , 85 , 88

prompt-for-font function 86

prompt-for-form function 86

prompt-for-integer function 82 , 90

prompt-for-number function 83

prompt-for-string function 81 , 88 , 89

prompt-for-symbol function 87

prompt-with-list function 83

push button panels

creating 22

push buttons 18

push-button class 7 , 18 , 22

push-button-panel class 22

R

radio button panels

creating 23

radio buttons 19

radio-button class 20

radio-button-panel class 22 , 23 , 33

read-and-convert-external-image function 118

read-color-db function 126

:reader slot option 69

redisplay-interface function 91

register-image-translation function 117

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

row-layout class 23 , 38 , 39 , 70

S

scale-thickness graphics state parameter 109

scroll bars

programmatic control 55

specifying 12

scroll generic function 55

: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 , 76

selections 26 - 29

default settings 29

extending 26

general properties 34

specifying multiple 33

setf function 14 , 18

set-graphics-state function 110

set-hint-table function 47

set-top-level-interface-geometry function 54

single selection

specifying 33

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

slot 5

slot-value function 5

specifying window titles 13 - 15

stipple graphics state parameter 108

streams

interactive 18

strings

prompting for 81

subclasses

finding 14

subclasses, finding 14

symbols

prompting for 87

T

text

displaying 16

displaying on screen 15

entering 16

:text initarg 12 , 15

text input panes 16

text-input-pane class 16

thickness graphics state parameter 109

:title initarg 14 , 67

title panes 13

titled-object class 13

titled-object-title accessor 75

titled-pane-title accessor 75

: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 56

transform graphics state parameter 108

U

unconvert-color function 119

user input 79 - 92

using callback functions 11

using the CAPI 6

V

:value-function keyword argument 90

values

prompting for 81 - 87

: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 110

with-pixmap-graphics-port macro 106

Works menu

in CAPI objects 7

X

:x-ratios initarg 40

Y

:y-ratios initarg 40


LispWorks CAPI User Guide (Windows version) - 11 Mar 2004

NextPrevTopContents