NextPrevTopContents

Index

A

abort-dialog function 90 , 91

:action-callback initarg 31 , 34 , 37

apply-in-pane-process function 8 , 55

apropos-color-alias-names function 124

apropos-color-names function 124

apropos-color-spec-names function 124

augment-font-description function 116

B

background graphics state parameter 110

:best-height initarg 98

:best-width initarg 98

boole function 114

:buffer-name initarg 18

button panels

orientation 25

prompting with 86 - 87

button-panel class 24

buttons

check 20

push 19

radio 21

C

:callback initarg 17

callbacks

description of 9

general properties 37

graph panes 33

in interfaces 76 - 79

used for choices 29 - 31

using callback functions 11

:callback-type initarg 37 , 91

call-editor function 77

CAPI

basic objects 3

description of 1 - 3

linking code into 9

menu hierarchy 64

using the 6

changing titles interactively 14

check button panels 26

check buttons 20

check-button class 20 , 24

check-button-panel class 24 , 26 , 30 , 36

:children-function initarg 32

choice class 23

:choice-class initarg 86

choice-interaction accessor 36

choices 23 - 38

callbacks available 37

description of 23 - 38

general properties 35 - 38

relationship to menus 35

choice-selected-item accessor 37

choice-selected-items accessor 37

choice-selection accessor 31 , 36

classes

collections 24

creating your own 95 - 106

clear-external-image-conversions function 119

CLUE 2

CLX 2

collection class 23

collection-items accessor 58

collections

description of 23

collector panes 19

collector-pane class 19

colors

prompting for 88

colors= function 128

color-spec-model function 125

color-spec-p function 125

column-layout class 25 , 40 , 72

column-layout class 41

combo box 34

combo boxes 34

confirm-yes-or-no function 82

console image

using CAPI with 6

contain function 7 , 8 , 100

convert-color function 121 , 128

convert-external-image function 120

:create-callback initarg 55 , 120

creating menus 59

creating submenus 60

D

dash graphics state parameter 111

dashed graphics state parameter 111

:data callback type 37

:data initarg 8 , 20

:data-interface callback type 37

default settings

selections 31

:default-initargs class option 69 , 72

defclass macro 67 , 69 , 98

define-color-alias function 125

define-color-models macro 129

define-interface macro 67

arguments supplied to 69

defpackage function 6

delete-color-translation function 125 , 129

:description initarg 40

description of the CAPI 1 - 3

destroy generic function 58

dialogs

creating your own 90 - 94

description of 81 - 94

in front 89

owners 89 - 90

display callback 97

display function 7 , 8

display panes 15

:display-callback initarg 120

display-dialog function 90 , 92

displaying text on screen 15

display-message function 10 , 81

display-pane class 16 , 42

draw-circle function 97

draw-image function 117

drawn-pinboard-object class 100 , 103 , 108

draw-point function 99

drop-down list box 34

E

editor panes 17

editor-pane class 17 , 42 , 77

subclasses 18

editor-pane-text accessor 58 , 77

elements

creating your own 95 - 106

generic properties of 11 - 12

:enabled initarg 20

:enabled-function initarg 65

ensure-color function 128

ensure-model-color function 128

:evaluate keyword argument 89

event handlers 98 - 100 , ??- 100

execute-with-interface function 8 , 55

exit-confirmer function 93

exit-dialog function 90 , 91 , 93

:extend-callback initarg 31 , 34 , 37

extended selection

specifying 36

using on diferent platforms 36

:extended-selection interaction style 28 - 29 , 36

extension gesture 29

external constraints 46

external-image class 117

externalize-image function 119

:external-max-height initarg 46

:external-max-width initarg 46

:external-min-height initarg 46

:external-min-width initarg 46

F

files

prompting for 87 - 89

fill-style graphics state parameter 110

find-best-font function 116

find-matching-fonts function 116

font graphics state parameter 112

:font initarg 12

fonts 12

prompting for 88

foreground graphics state parameter 110

free-image function 117 , 120

free-image-access function 121

functions

sample 11

G

generic properties of elements 11 - 12

geometry of layouts, specifying 46 - 49

get-all-color-names function 124

get-color-alias-translation function 126

get-color-spec function 125

graph panes

callbacks 33

graphics

creating permanent displays 97

displaying 95 - 98

graphics ports 107

drawing functions 114

pixmap 115

graphics state 108

graphics state parameters 108

graph-pane class 32

implementation of 101

grid-layout class 43

H

hardcopy API 131 - 134

hierarchy of menus 64

hints 46

:horizontal-scroll initarg 12 , 41

I

ILISP

using CAPI with 6

image class 117

image-access-pixel function 121

image-access-transfer-from-image function 121

image-access-transfer-to-image function 121

:initial-value initarg 84

:input-model initarg 99

integers

prompting for 84 - 85

interaction

general properties 36

in lists 28

:interaction initarg 28 , 35 , 36 , 61 , 86

interactive streams 19

interactive-stream class 19

:interface callback type 37

interface class 3 , 67

interface-display generic function 56

interfaces

defining 67 - 79

description of 67

layouts, specifying 70

menus, specifying 73 - 76

panes, specifying 70

title, specifying 69

internal constraints 47

:internal-max-height initarg 47

:internal-max-width initarg 47

:internal-min-height initarg 47

:internal-min-width initarg 47

item-pinboard-object class 100

:items initarg 28 , 59 , 63

K

key press 98 - 100

L

:layout-class initarg 25

layout-description accessor 57

layouts

combining different 44 - 45

description of 39 - 49

introduction to 7

specifying geometry 46 - 49

specifying size of panes in 42

:layouts interface option 67

line-end-style graphics state parameter 111

line-joint-style graphics state parameter 111

Lisp forms

prompting for 89

list function 40

list items, specifying 27

list panels 26

listener panes 19

listener-pane class 19 , 42

list-panel class 26

lists

actions in 29

deselection in 29

extended selection in 28

extended selections 29

interaction in 28

multiple selection in 28

prompting with 85 - 87

retraction in 29

single selection in 28

load-color-database function 128

load-icon-image function 118 , 120

load-image function 120

M

make-container function 90

make-hsv function 125

make-image-access function 121

make-image-from-port function 120

make-instance function 5

make-menu-for-pane function 66

make-pane-popup-menu generic function 66

make-rgb function 125

make-sub-image function 120

mask graphics state parameter 111

mask-x graphics state parameter 111

mask-y graphics state parameter 112

:max keyword argument 84

max-height 47

max-width 47

MDI 53

menu class 3 , 59

:menu-bar interface option 67 , 74

:menu-bar-items initarg 60

menu-component class 60

menu-component class 3

menu-item class 3 , 63

menus

components 35

creating 59

creating submenus 60

description of 59 - 65

disabling items in 65

grouping items together 60 - 63

individual items in 63 - 64

menu hierarchy 64

nesting 60

:menus interface option 67 , 74

merge-font-descriptions function 116

:min keyword argument 84

min-height 47

min-width 47

Multiple-Document Interface 53

:multiple-selection interaction style 28 , 35 , 36 , 62

N

:none callback type 37

:no-selection interaction style 35 , 36

O

:ok-check keyword argument 84 , 89 , 94

operation graphics state parameter 110

option panes 34

option-pane class 34

organizing panes 40

output-pane class 66 , 95

P

:pane-args initarg 87

panel

button layout 25

pane-layout accessor 57

panels

check button 26

list 26

push button 24

radio button 25

:pane-menu initarg 66

pane-popup-menu-items generic function 66

panes

accessing 71

collector 19

creating your own 95 - 106

default title position 14

display 15

editor 17

finding 71

graphs 32

listener 19

lookup 71

option 34

organizing 40

sizing 42

text input 16

title 14

:panes interface option 67

:pathname keyword argument 88

pattern graphics state parameter 111

pinboard objects 100

creating your own 103 - 106

pinboard-layout class 44 , 100

pinboard-object class 100

popup-confirmer function 92 , 93

portable font descriptions 115 - 116

print function 23

print-dialog function 90

:print-function initarg 23

prompt-for-color function 88

prompt-for-confirmation function 83

prompt-for-directory function 88

prompt-for-file function 77 , 87 , 90

prompt-for-font function 88

prompt-for-form function 89

prompt-for-integer function 84 , 93

prompt-for-number function 85

prompt-for-string function 83 , 90 , 92

prompt-for-symbol function 89

prompt-with-list function 85

push button panels

creating 24

push buttons 19

push-button class 8 , 20 , 24

push-button-panel class 24

R

radio button panels

creating 25

radio buttons 21

radio-button class 21

radio-button-panel class 24 , 25 , 36

read-and-convert-external-image function 120

read-color-db function 128

:reader slot option 71

redisplay-interface function 94

register-image-translation function 119

:retract-callback initarg 20 , 30 , 34 , 37

row-layout class 25 , 40 , 41 , 72

S

scale-thickness graphics state parameter 111

scroll bars

programmatic control 57

specifying 12

scroll generic function 57

:selected initarg 21

:selected-item initarg 34 , 37

:selected-items initarg 37

selection gesture 29

:selection initarg 31 , 36

:selection-callback initarg 24 , 28 , 29 , 34 , 37 , 78

selections 28 - 31

default settings 31

extending 29

general properties 36

specifying multiple 36

setf function 14 , 20

set-graphics-state function 112

set-hint-table function 49

set-top-level-interface-geometry function 56

single selection

specifying 36

:single-selection interaction style 28 , 35 , 36 , 61

slot 5

slot-value function 5

specifying window titles 13 - 16

stipple graphics state parameter 110

streams

interactive 19

strings

prompting for 83

subclasses

finding 14

subclasses, finding 14

symbols

prompting for 89

T

text

displaying 16

displaying on screen 15

entering 16

:text initarg 12 , 15 , 18

text input panes 16

text-input-pane class 17

thickness graphics state parameter 111

:title initarg 14 , 69

title panes 14

titled-object class 13

titled-object-title accessor 77

titled-pane-title accessor 77

:title-font initarg 14

title-pane class 13

:title-position initarg 15 , 41

titles

changing interactively 14

specifying 13 , 13 - 16

top-level-interface-display-state function 58

transform graphics state parameter 110

U

unconvert-color function 121

user input 81 - 94

using callback functions 11

using the CAPI 6

V

:value-function keyword argument 92

values

prompting for 83 - 89

:vertical-scroll initarg 12 , 41

visible constraints 46

:visible-max-height initarg 46

:visible-max-width initarg 46

:visible-min-height initarg 46

:visible-min-width initarg 46

W

window titles

specifying 13 - 16

with-graphics-state macro 112

with-pixmap-graphics-port macro 108

Works menu

in CAPI objects 7

X

:x-ratios initarg 42

Y

:y-ratios initarg 42


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

NextPrevTopContents