NextPrevTopContents

Index

A

abort-dialog function 95 , 96

:action-callback initarg 32 , 35 , 38

apply-in-pane-process function 11 , 57

apropos-color-alias-names function 130

apropos-color-names function 130

apropos-color-spec-names function 130

augment-font-description function 122

B

background graphics state parameter 116

:best-height initarg 104

:best-width initarg 104

boole function 120

:buffer-name initarg 20

button panels

orientation 27

prompting with 90 - 91

button-panel class 26

buttons

check 22

push 21

radio 23

:buttons initarg 18

C

:callback initarg 18

callbacks

description of 8

general properties 38

graph panes 35

in interfaces 80 - 83

used for choices 31 - 32

using callback functions 13

:callback-type initarg 38 , 96

call-editor function 80

CAPI

basic objects 3

description of 1 - 3

linking code into 8

menu hierarchy 66

using the 6

changing titles interactively 16

check button panels 27

check buttons 22

check-button class 22 , 26

check-button-panel class 26 , 27 , 32 , 37

:children-function initarg 34

choice class 25

:choice-class initarg 90

choice-interaction accessor 38

choices 25 - 39

callbacks available 38

description of 25 - 39

general properties 37 - 39

relationship to menus 37

choice-selected-item accessor 38

choice-selected-items accessor 38

choice-selection accessor 33 , 38

classes

collections 26

creating your own 101 - 112

clear-external-image-conversions function 125

CLUE 2

CLX 2

collection class 25

collection-items accessor 60

collections

description of 25

collector panes 21

collector-pane class 21

colors

prompting for 92

colors= function 134

color-spec-model function 131

color-spec-p function 131

column-layout class 27 , 42 , 76

column-layout class 43

combo box 36

combo boxes 36

confirm-yes-or-no function 86

contain function 7 , 11 , 106

convert-color function 127 , 134

convert-external-image function 126

:create-callback initarg 57 , 126

creating menus 61

creating submenus 62

current-printer function 137

D

dash graphics state parameter 117

dashed graphics state parameter 117

:data callback type 39

:data initarg 8 , 22

:data-interface callback type 39

default settings

selections 33

:default-initargs class option 73 , 76

defclass macro 71 , 73 , 104

define-color-alias function 131

define-color-models macro 135

define-interface macro 71

arguments supplied to 73

defpackage function 6

delete-color-translation function 131 , 135

:description initarg 42

description of the CAPI 1 - 3

destroy generic function 60

dialogs

creating your own 95 - 99

description of 85 - 99

in front 94

owners 94 - 95

display callback 103

display function 7 , 8 , 11

display panes 17

:display-callback initarg 126

display-dialog function 95 , 97

displaying text on screen 17

display-message function 9 , 85

display-pane class 17 , 44

draw-circle function 103

draw-image function 123

drawn-pinboard-object class 106 , 109 , 114

draw-point function 105

drop-down list box 36

E

editor panes 19

editor-pane class 19 , 44 , 80

subclasses 20

editor-pane-blink-rate function 20

editor-pane-text accessor 60 , 81

elements

creating your own 101 - 112

generic properties of 13 - 14

:enabled initarg 22

:enabled-function initarg 68

ensure-color function 134

ensure-model-color function 134

:evaluate keyword argument 93

event handlers 104 - 106 , ??- 106

execute-with-interface function 11 , 57

exit-confirmer function 98

exit-dialog function 95 , 96 , 98

:extend-callback initarg 32 , 35 , 38

extended selection

specifying 37

using on diferent platforms 37

:extended-selection interaction style 30 - 31 , 37

extension gesture 31

external constraints 48

external-image class 123

externalize-image function 125

:external-max-height initarg 48

:external-max-width initarg 48

:external-min-height initarg 48

:external-min-width initarg 48

F

files

prompting for 91 - 93

fill-style graphics state parameter 116

find-best-font function 122

find-matching-fonts function 122

font graphics state parameter 118

:font initarg 14

fonts 14

prompting for 92

foreground graphics state parameter 116

free-image function 123 , 126

free-image-access function 127

functions

sample 13

G

generic properties of elements 13 - 14

geometry of layouts, specifying 48 - 51

get-all-color-names function 130

get-color-alias-translation function 132

get-color-spec function 131

get-page-area function 140

get-printer-metrics function 140

graph panes

callbacks 35

graphics

creating permanent displays 103

displaying 101 - 104

graphics ports 113

drawing functions 120

pixmap 121

graphics state 114

graphics state parameters 114

graph-pane class 33

implementation of 107

grid-layout class 45

H

hardcopy API 137 - 140

hierarchy of menus 66

hints 48

:horizontal-scroll initarg 14 , 43

I

image class 123

image-access-pixel function 127

image-access-transfer-from-image function 127

image-access-transfer-to-image function 127

:initial-value initarg 88

:input-model initarg 105

integers

prompting for 88 - 89

interaction

general properties 37

in lists 30

:interaction initarg 30 , 37 , 63 , 89

interactive streams 21

interactive-stream class 21

:interface callback type 39

interface class 3 , 71

interface-display generic function 58

interfaces

defining 71 - 83

description of 71

layouts, specifying 74

menus, specifying 77 - 80

panes, specifying 74

title, specifying 73

internal constraints 49

:internal-max-height initarg 49

:internal-max-width initarg 49

:internal-min-height initarg 49

:internal-min-width initarg 49

item-pinboard-object class 106

:items initarg 29 , 61 , 65

K

key press 104 - 106

L

:layout-class initarg 27

layout-description accessor 59

layouts

combining different 46 - 47

description of 41 - 51

introduction to 7

specifying geometry 48 - 51

specifying size of panes in 43

:layouts interface option 71

line-end-style graphics state parameter 117

line-joint-style graphics state parameter 117

Lisp forms

prompting for 93

list function 42

list items, specifying 29

list panels 28

listener panes 21

listener-pane class 21 , 44

list-panel class 28

lists

actions in 31

deselection in 31

extended selection in 30

extended selections 30

interaction in 30

multiple selection in 30

prompting with 89 - 91

retraction in 31

single selection in 30

load-color-database function 134

load-icon-image function 124 , 126

load-image function 126

M

make-container function 95

make-hsv function 131

make-image-access function 127

make-image-from-port function 126

make-instance function 5

make-menu-for-pane function 70

make-pane-popup-menu generic function 70

make-rgb function 131

make-sub-image function 126

mask graphics state parameter 117

mask-x graphics state parameter 117

mask-y graphics state parameter 118

:max keyword argument 88

max-height 49

max-width 49

MDI 7 , 55

menu class 3 , 61

:menu-bar interface option 71 , 77

:menu-bar-items initarg 62

menu-component class 62

menu-component class 3

menu-item class 3 , 65

menus

components 37

creating 61

creating submenus 62

description of 61 - 69

disabling items in 68 - 69

grouping items together 62 - 65

individual items in 65 - 66

menu hierarchy 66

nesting 62

:menus interface option 71 , 77

merge-font-descriptions function 122

:min keyword argument 88

min-height 49

min-width 49

Motif

resources 12

MS Windows

Multiple-Document Interface 7 , 55

XP themes 12

:multiple-selection interaction style 30 , 37 , 64

N

:none callback type 39

:no-selection interaction style 37

O

:ok-check keyword argument 88 , 93 , 99

operation graphics state parameter 116

option panes 36

option-pane class 36

organizing panes 42

output-pane class 69 , 101

P

page-setup-dialog function 137

:pane-args initarg 91

panel

button layout 27

pane-layout accessor 59

panels

check button 27

list 28

push button 26

radio button 27

:pane-menu initarg 70

pane-popup-menu-items generic function 70

panes

accessing 75

collector 21

creating your own 101 - 112

default title position 16

display 17

editor 19

finding 75

graphs 33

listener 21

lookup 75

option 36

organizing 42

sizing 43

text input 18

title 15

:panes interface option 71

:pathname keyword argument 92

pattern graphics state parameter 117

pinboard objects 106

creating your own 109 - 112

pinboard-layout class 46 , 106

pinboard-object class 106

popup-confirmer function 97 , 98

portable font descriptions 121 - 122

print function 25

print-dialog function 95 , 137

print-editor-buffer function 140

printer-configuration-dialog function 140

print-file function 140

:print-function initarg 25

print-text function 140

prompt-for-color function 92

prompt-for-confirmation function 87

prompt-for-directory function 92

prompt-for-file function 81 , 91 , 95

prompt-for-font function 92

prompt-for-form function 93

prompt-for-integer function 88 , 98

prompt-for-number function 89

prompt-for-string function 87 , 95 , 97

prompt-for-symbol function 93

prompt-with-list function 89

push button panels

creating 26

push buttons 21

push-button class 7 , 22 , 26

push-button-panel class 26

R

radio button panels

creating 27

radio buttons 23

radio-button class 23

radio-button-panel class 26 , 27 , 37

read-and-convert-external-image function 126

read-color-db function 134

:reader slot option 75

redisplay-interface function 99

register-image-translation function 125

Resources

X11/Motif 12

:retract-callback initarg 22 , 31 , 35 , 38

row-layout class 27 , 42 , 43 , 76

S

scale-thickness graphics state parameter 117

scroll bars

programmatic control 59

specifying 14

scroll generic function 59

:selected initarg 23

:selected-item initarg 36 , 38

:selected-items initarg 38

selection gesture 31

:selection initarg 33 , 38

:selection-callback initarg 26 , 29 , 31 , 35 , 38 , 82

selections 30 - 33

default settings 33

extending 30

general properties 38

specifying multiple 37

set-application-themed function 12

setf function 16 , 22

set-graphics-state function 118

set-hint-table function 51

set-printer-metrics function 140

set-printer-options function 137

set-top-level-interface-geometry function 58

simple-print-port function 140

single selection

specifying 37

:single-selection interaction style 30 , 37 , 63

slot 5

slot-value function 5

specifying window titles 15 - 17

stipple graphics state parameter 116

streams

interactive 21

strings

prompting for 87

subclasses

finding 16

subclasses, finding 16

symbols

prompting for 93

T

text

displaying 18

displaying on screen 17

entering 18

:text initarg 14 , 17 , 18 , 20

text input panes 18

text-input-pane class 18

thickness graphics state parameter 117

:title initarg 16 , 73

title panes 15

titled-object class 15

titled-object-title accessor 81

titled-pane-title accessor 81

:title-font initarg 16

title-pane class 15

:title-position initarg 16 , 43

titles

changing interactively 16

specifying 15 , 15 - 17

top-level-interface-display-state function 60

transform graphics state parameter 116

U

unconvert-color function 127

user input 85 - 99

using callback functions 13

using the CAPI 6

V

:value-function keyword argument 97

values

prompting for 87 - 93

:vertical-scroll initarg 14 , 43

visible constraints 48

:visible-max-height initarg 48

:visible-max-width initarg 48

:visible-min-height initarg 48

:visible-min-width initarg 48

W

window titles

specifying 15 - 17

Windows XP themes 12

with-dialog-results macro 94

with-document-pages macro 139

with-graphics-state macro 118

with-page macro 139

with-page-transform macro 139

with-pixmap-graphics-port macro 114

with-print-job macro 137

Works menu

in CAPI objects 7

X

X11

resources 12

:x-ratios initarg 44

Y

:y-ratios initarg 44


LispWorks CAPI User Guide (Windows version) - 14 Jun 2006

NextPrevTopContents