Next Prev Top Contents

Index

A

abort-dialog function 85 , 86

:action-callback initarg 28 , 31 , 34

apply-in-pane-process function 7

apropos-color-alias-names function 114

apropos-color-names function 114

apropos-color-spec-names function 114

augment-font-description function 111

B

background graphics state parameter 105

:best-height initarg 93

:best-width initarg 93

boole function 109

button panels

orientation 23

prompting with 81 - 82

button-panel class 22

buttons

check 19

push 18

radio 19

C

:callback initarg 15

callbacks

description of 8

general properties 34

graph panes 31

in interfaces 72 - 75

used for choices 27 - 28

using callback functions 10

:callback-type initarg 35 , 86

call-editor function 73

CAPI

basic objects 3

description of 1 - 3

linking code into 8

menu hierarchy 60

using the 5

changing titles interactively 13

check button panels 24

check buttons 19

check-button class 19 , 22

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

:children-function initarg 29 , 30

choice class 21

:choice-class initarg 81

choice-interaction accessor 34

choices 21 - 36

callbacks available 34

description of 21 - 36

general properties 33 - 36

relationship to menus 33

choice-selected-item accessor 34

choice-selected-items accessor 34

choice-selection accessor 29 , 34

classes

collections 22

creating your own 90 - 101

CLUE 2

CLX 2

collection class 21

collection-items accessor 53

collections

description of 21

collector panes 17

collector-pane class 17

colors= function 118

color-spec-model function 115

color-spec-p function 115

column-layout class 23 , 38 , 68

column-layout class 39

combo box 32

combo boxes 32

confirm-yes-or-no function 77

console image

using CAPI with 5

contain function 6 , 7 , 95

convert-color function 118

creating menus 55

creating submenus 56

D

dash graphics state parameter 106

dashed graphics state parameter 106

:data callback type 35

:data initarg 7 , 18

:data-interface callback type 35

default settings

selections 29

:default-initargs class option 65 , 68

defclass macro 63 , 65 , 93

define-color-alias function 115

define-color-models macro 118

define-interface macro 63

arguments supplied to 65

defpackage function 5

delete-color-translation function 115 , 118

:description initarg 38

description of the CAPI 1 - 3

destroy generic function 54

dialogs

creating your own 85 - 89

description of 76 - 89

in front 84

owners 84 - 85

display callback 92

display function 6 , 7

display panes 14

:display-callback initarg 93

display-dialog function 85 , 87

displaying text on screen 14

display-message function 8 , 76

display-pane class 14 , 40

draw-circle function 91

drawn-pinboard-object class 95 , 99 , 103

draw-point function 94

drop-down list box 32

E

editor panes 16

editor-pane class 16 , 40 , 73

subclasses 17

editor-pane-text accessor 53 , 73

elements

creating your own 90 - 101

generic properties of 10 - 11

:enabled initarg 18 , 61

:enabled-function initarg 61

ensure-color function 117

ensure-model-color function 117

:evaluate keyword argument 83

execute-with-interface function 7 , 51

exit-confirmer function 87

exit-dialog function 85 , 86 , 87

: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-max-height initarg 44

:external-max-width initarg 44

:external-min-height initarg 44

:external-min-width initarg 44

F

files

prompting for 82 - 83

fill-style graphics state parameter 105

find-best-font function 110

find-matching-fonts function 110

font graphics state parameter 107

:font initarg 11

fonts 11

foreground graphics state parameter 105

functions

sample 10

G

generic properties of elements 10 - 11

geometry of layouts, specifying 44 - 47

get-all-color-names function 114

get-color-alias-translation function 116

get-color-spec function 115

graph panes

callbacks 31

graphics

changing interactively 93 - 94

creating permanent displays 92

displaying 90 - 93

graphics ports 102

drawing functions 109

pixmap 109

graphics state 103

graphics state parameters 103

graph-pane class 29

implementation of 96

grid-layout class 41

H

hardcopy API 120 - 123

hierarchy of menus 60

hints 44

:horizontal-scroll initarg 11 , 39

I

ILISP

using CAPI with 5

:initial-value initarg 79

:input-model initarg 94

integers

prompting for 79 - 80

interaction

general properties 33

in lists 26

:interaction initarg 26 , 33 , 57 , 81

interactive streams 17

interactive-stream class 17

:interface callback type 35

interface class 3 , 6 , 63

:interface-data callback type 35

:interface-item callback type 35

interfaces

defining 63 - 75

description of 63

layouts, specifying 66

menus, specifying 69 - 72

panes, specifying 65

title, specifying 65

interface-title accessor 28

internal constraints 45

:internal-max-height initarg 45

:internal-max-width initarg 45

:internal-min-height initarg 45

:internal-min-width initarg 45

:item callback type 35

:item-interface callback type 35

item-pinboard-object class 95

:items initarg 26 , 55 , 59

L

:layout-class initarg 23

layout-description accessor 53

layouts

combining different 42 - 43

description of 37 - 47

introduction to 6

specifying geometry 44 - 47

specifying size of panes in 40

:layouts interface option 63

line-end-style graphics state parameter 106

line-joint-style graphics state parameter 106

Lisp forms

prompting for 83

list function 38

list items, specifying 25

list panels 25

listener panes 18

listener-pane class 18 , 40

list-panel class 25

lists

actions in 27

deselection in 27

extended selection in 26

extended selections 27

interaction in 26

multiple selection in 26

prompting with 80 - 82

retraction in 27

single selection in 26

load-color-database function 118

M

make-container function 85

make-hsv function 115

make-instance function 4

make-menu-for-pane function 62

make-pane-popup-menu generic function 62

make-rgb function 115

mask graphics state parameter 106

mask-x graphics state parameter 106

mask-y graphics state parameter 107

:max keyword argument 79

max-height 45

max-width 45

MDI 50

menu class 3 , 55

:menu-bar interface option 63 , 70

:menu-bar-items initarg 56

menu-component class 56

menu-component class 3

menu-item class 3 , 59

menus

components 33

creating 55

creating submenus 56

description of 55 - 61

disabling items in 61

grouping items together 56 - 59

individual items in 59

menu hierarchy 60

nesting 56

:menus interface option 63 , 70

merge-font-descriptions function 111

:min keyword argument 79

min-height 45

min-width 45

Multiple-Document Interface 50

:multiple-selection interaction style 26 , 33 , 58

N

:none callback type 35

:no-selection interaction style 33 , 34

O

:ok-check keyword argument 79 , 84 , 88

operation graphics state parameter 105

option panes 32

option-pane class 32

organizing panes 38

output-pane class 62 , 90

P

:pane-args initarg 82

panel

button layout 23

pane-layout accessor 52

panels

check button 24

list 25

push button 22

radio button 23

:pane-menu initarg 62

pane-popup-menu-items generic function 62

panes

collector 17

creating your own 90 - 101

default title position 13

display 14

editor 16

graphs 29

listener 18

option 32

organizing 38

sizing 40

text input 15

title 13

:panes interface option 63

:pathname keyword argument 82

pattern graphics state parameter 106

pinboard objects 95

creating your own 99 - 101

pinboard-layout class 42 , 95

pinboard-object class 95

popup-confirmer function 86 , 87

portable font descriptions 110 - 111

print function 21

print-dialog function 85

:print-function initarg 21

prompt-for-file function 73 , 82 , 85

prompt-for-form function 83

prompt-for-integer function 79 , 87

prompt-for-string function 78 , 85 , 86

prompt-for-symbol function 84

prompt-with-list function 80

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 19

radio-button-panel class 22 , 23 , 33

read-color-db function 118

:reader slot option 67

redisplay-interface function 88

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

row-layout class 23 , 38 , 39 , 68

S

scale-thickness graphics state parameter 106

scroll bars

programmatic control 52

specifying 11

scroll generic function 52

:selected initarg 19

:selected-item initarg 32 , 34

:selected-items initarg 34

selection gesture 27

:selection initarg 29 , 34

:selection-callback initarg 22 , 26 , 27 , 31 , 34 , 74

selections 26 - 29

default settings 29

extending 27

general properties 34

specifying multiple 33

setf function 13 , 18

set-graphics-state function 107

set-hint-table function 48

set-top-level-interface-geometry function 51

single selection

specifying 33

:single-selection interaction style 26 , 33 , 57

slot 4

slot-value function 4

specifying window titles 12 - 14

stipple graphics state parameter 105

streams

interactive 17

strings

prompting for 78

subclasses

finding 13

subclasses, finding 13

symbols

prompting for 84

T

text

displaying 15

displaying on screen 14

entering 15

:text initarg 11 , 13 , 14

text input panes 15

text-input-pane class 15

thickness graphics state parameter 106

:title initarg 13 , 65

title panes 13

titled-object class 12

titled-object-title accessor 73

titled-pane-title accessor 73

:title-font initarg 13

title-pane class 12

:title-position initarg 14 , 39

titles

changing interactively 13

specifying 12 , 12 - 14

top-level-interface-display-state function 53

transform graphics state parameter 105

U

user input 76 - 89

using callback functions 10

using the CAPI 5

V

:value-function keyword argument 87

values

prompting for 78 - 84

:vertical-scroll initarg 11 , 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 12 - 14

with-graphics-state macro 107

with-pixmap-graphics-port macro 103

Works menu

in CAPI objects 6

X

:x-ratios initarg 40

Y

:y-ratios initarg 40


LispWorks CAPI User Guide (Unix version) - 11 Sep 2003

Next Prev Top Contents