NextPrevTopContents

Index

A

abort-dialog function 99 , 100

:accelerator initarg 70

:action-callback initarg 35 , 38 , 41

:alternative initarg 70

apply-in-pane-process function 11 , 59

apropos-color-alias-names function 139

apropos-color-names function 138

apropos-color-spec-names function 139

augment-font-description function 128

B

background graphics state parameter 122

:best-height initarg 110

:best-width initarg 110

boole function 126

:buffer-name initarg 22

button panels

orientation 29

prompting with 94 - 95

button-panel class 28

buttons

check 24

push 24

radio 25

:buttons initarg 21

C

:callback initarg 21

callbacks

description of 8

general properties 41

graph panes 37

in interfaces 84 - 87

used for choices 33 - 35

using callback functions 15

:callback-type initarg 41 , 100

call-editor function 85

CAPI

basic objects 3

description of 1 - 3

linking code into 8

menu hierarchy 68

using the 6

check button panels 30

check buttons 24

check-button class 25 , 28

check-button-panel class 28 , 30 , 34 , 40

:children-function initarg 36

choice class 27

:choice-class initarg 94

choice-interaction accessor 40

choices 27 - 42

callbacks available 41

description of 27 - 42

general properties 39 - 42

relationship to menus 39

choice-selected-item accessor 41

choice-selected-items accessor 41

choice-selection accessor 35 , 40

classes

collections 28

creating your own 107 - 118

clear-external-image-conversions function 132

CLUE 2

CLX 2

collection class 27

collection-items accessor 62

collections

description of 27

collector panes 23

collector-pane class 23

colors

prompting for 96

colors= function 142

color-spec-model function 140

color-spec-p function 140

column-layout class 29 , 44 , 80

column-layout class 45

combo box 38

combo boxes 38

confirm-yes-or-no function 90

contain function 7 , 11 , 112

convert-color function 134 , 142

convert-external-image function 132

convert-to-screen function 12

:create-callback initarg 59 , 133

creating menus 63

creating submenus 64

current-printer function 145

D

dash graphics state parameter 123

dashed graphics state parameter 123

:data callback type 41

:data initarg 8 , 24

:data-interface callback type 41

default settings

selections 35

:default-initargs class option 77 , 80

defclass macro 75 , 77 , 110

define-color-alias function 140

define-color-models macro 143

define-interface macro 75

arguments supplied to 77

defpackage function 6

delete-color-translation function 140 , 143

:description initarg 44

description of the CAPI 1 - 3

destroy generic function 62

dialogs

creating your own 99 - 103

description of 89 - 103

in front 98

modal 97

owners 98 - 99

display callback 109

display function 7 , 8 , 11

display panes 20

:display-callback initarg 133

display-dialog function 99 , 101

displaying text on screen 20

display-message function 9 , 90

display-pane class 20 , 46

document-frame class 57

double buffering 119

draw-circle function 109

draw-image function 130

drawn-pinboard-object class 112 , 115 , 120

draw-point function 111

drop-down list box 38

E

editor panes 22

editor-pane class 22 , 46 , 85 , 105

subclasses 23

editor-pane-blink-rate function 23

editor-pane-text accessor 62 , 85

elements

creating your own 107 - 118

generic properties of 15 - 16

:enabled initarg 24

:enabled-function initarg 71

ensure-color function 142

ensure-model-color function 142

:evaluate keyword argument 97

event handlers 110 - 112 , ??- 112

execute-with-interface function 11 , 59

execute-with-interface-if-alive function 11 , 59

exit-confirmer function 102

exit-dialog function 99 , 100 , 102

:extend-callback initarg 35 , 38 , 41

extended selection

specifying 40

using on diferent platforms 40

:extended-selection interaction style 32 - 33 , 40

extension gesture 33

external constraints 50

external image

dimensions 133

from displayed window 134

from on-screen window 134

width and height 133

external-image class 129

externalize-image function 132

:external-max-height initarg 50

:external-max-width initarg 50

:external-min-height initarg 50

:external-min-width initarg 50

F

files

prompting for 95 - 97

fill-style graphics state parameter 122

find-best-font function 128

find-matching-fonts function 128

font graphics state parameter 124

:font initarg 16

fonts 16

attributes 128

lookup 129

prompting for 96

foreground graphics state parameter 122

frame 19

free-image function 130 , 132

free-image-access function 134

functions

sample 15

G

generic properties of elements 15 - 16

geometry of layouts, specifying 50 - 53

get-all-color-names function 139

get-color-alias-translation function 140

get-color-spec function 139

get-page-area function 148

get-printer-metrics function 148

graph panes

callbacks 37

graphics

creating permanent displays 109

displaying 107 - 110

graphics ports 119

drawing functions 126

pixmap 127

graphics state 120

graphics state parameters 120

graph-pane class 36

implementation of 113

grid-layout class 47

groupbox 19

H

hardcopy API 145 - 148

hierarchy of menus 68

hints 50

:horizontal-scroll initarg 16 , 45

I

image class 129

image-access-pixel function 134

image-access-transfer-from-image function 133 , 134

image-access-transfer-to-image function 134

image-height accessor 133

image-width accessor 133

:initial-value initarg 92

:input-model initarg 111

integers

prompting for 92 - 93

interaction

general properties 40

in lists 32

:interaction initarg 32 , 39 , 40 , 65 , 94

interactive streams 23

interactive-stream class 23

:interface callback type 41

interface class 3 , 18 , 75

interface-display generic function 60

interface-extend-title generic function 18

interfaces

defining 75 - 87

description of 75

layouts, specifying 78

menus, specifying 81 - 84

panes, specifying 78

title, specifying 77

interface-title accessor 18

internal constraints 51

:internal-max-height initarg 51

:internal-max-width initarg 51

:internal-min-height initarg 51

:internal-min-width initarg 51

item-pinboard-object class 112

:items initarg 32 , 63 , 67

K

key press 110 - 112

L

:layout-class initarg 29

layout-description accessor 61

layouts

combining different 48 - 49

description of 43 - 53

introduction to 7

specifying geometry 50 - 53

specifying size of panes in 46

:layouts interface option 75

line-end-style graphics state parameter 123

line-joint-style graphics state parameter 123

Lisp forms

prompting for 97

list function 44

list items, specifying 31

list panels 30

list-all-font-names function 128

listener panes 23

listener-pane class 23 , 46

list-panel class 30

lists

actions in 33

deselection in 33

extended selection in 32

extended selections 33

interaction in 32

multiple selection in 32

prompting with 93 - 95

retraction in 33

single selection in 32

load-color-database function 143

load-icon-image function 130 , 132

load-image function 132

M

make-container function 100

make-hsv function 139

make-image-access function 133

make-image-from-port function 132

make-instance function 5

make-menu-for-pane function 73

make-pane-popup-menu generic function 73

make-rgb function 139

make-sub-image function 132

mask graphics state parameter 123

mask-x graphics state parameter 123

mask-y graphics state parameter 124

:max keyword argument 92

max-height 51

max-width 51

MDI 57

menu class 3 , 63

:menu-bar interface option 75 , 81

:menu-bar-items initarg 64

menu-component class 64

menu-component class 3

menu-item class 3 , 67

menus

components 39

creating 63

creating submenus 64

description of 63 - 72

disabling items in 71 - 72

grouping items together 64 - 67

individual items in 67 - 68

menu hierarchy 68

nesting 64

specifying alternative items 70

:menus interface option 75 , 81

merge-font-descriptions function 128

Microsoft Windows

Multiple-Document Interface 57

themes 12

:min keyword argument 92

min-height 51

min-width 51

modal dialogs 97

Motif

resources 12

multi-line-text-input-pane class 21

:multiple-selection interaction style 32 , 39 , 40 , 66

N

:none callback type 41

:no-selection interaction style 39 , 40

O

off screen 119

off-screen 119

offscreen 119

:ok-check keyword argument 92 , 97 , 103

on screen 119

on-screen 119

onscreen 119

operation graphics state parameter 122

option panes 38

option-pane class 38

organizing panes 44

output-pane class 72 , 107 , 138

P

page-setup-dialog function 145

:pane-args initarg 95

panel

button layout 29

pane-layout accessor 61

panels

check button 30

list 30

push button 28

radio button 29

:pane-menu initarg 73

pane-popup-menu-items generic function 73

panes

accessing 79

collector 23

creating your own 107 - 118

default title position 19

display 20

editor 22

finding 79

graphs 36

listener 23

lookup 79

option 38

organizing 44

sizing 46

text input 20

title 18

:panes interface option 75

:pathname keyword argument 96

pattern graphics state parameter 123

pinboard objects 112

creating your own 115 - 118

pinboard-layout class 48 , 112

pinboard-object class 112

pixblt function 119

popup-confirmer function 101 , 102

portable font descriptions 127 - 128

print function 27

print-dialog function 99 , 145

print-editor-buffer function 148

printer-configuration-dialog function 148

print-file function 148

:print-function initarg 27

print-text function 148

prompt-for-color function 96

prompt-for-confirmation function 91

prompt-for-directory function 96

prompt-for-file function 95 , 99

prompt-for-font function 96

prompt-for-form function 97

prompt-for-integer function 92 , 102

prompt-for-number function 93

prompt-for-string function 91 , 99 , 101

prompt-for-symbol function 97

prompt-with-list function 93

prompt-with-list-non-focus function 105

push button panels

creating 28

push buttons 24

push-button class 7 , 24 , 28

push-button-panel class 28

R

radio button panels

creating 29

radio buttons 25

radio-button class 26

radio-button-panel class 28 , 29 , 40

read-and-convert-external-image function 132

read-color-db function 143

:reader slot option 79

redisplay-interface function 103

register-image-translation function 132

Resources

X11/Motif 12

:retract-callback initarg 25 , 34 , 38 , 41

row-layout class 29 , 44 , 45 , 80

S

scale-thickness graphics state parameter 123

scroll bars

programmatic control 61

specifying 16

scroll generic function 61

:selected initarg 26

:selected-item initarg 38 , 41

:selected-items initarg 41

selection gesture 33

:selection initarg 35 , 40

:selection-callback initarg 28 , 32 , 33 , 38 , 41 , 86

selections 32 - 35

default settings 35

extending 33

general properties 40

specifying multiple 40

set-application-themed function 12

set-default-interface-prefix-suffix function 18

setf function 19 , 24

set-graphics-state function 124

set-hint-table function 54

set-printer-metrics function 148

set-printer-options function 145

set-top-level-interface-geometry function 60

simple-print-port function 148

single selection

specifying 40

:single-selection interaction style 32 , 39 , 40 , 65

slot 5

slot-value function 5

stipple graphics state parameter 122

streams

interactive 23

strings

prompting for 91

subclasses

finding 18

subclasses, finding 18

symbols

prompting for 97

T

text

displaying 19

displaying on screen 20

editing 19

entering 19

:text initarg 16 , 20 , 21 , 22

text input panes 20

text-input-pane class 21 , 104

text-input-pane-non-focus-complete function 104

thickness graphics state parameter 123

:title initarg 18 , 77

title panes 18

titled-object class 17

titled-pane-title accessor 85

:title-font initarg 19

title-pane class 17 , 138

:title-position initarg 19 , 45

titles

changing 19 , 87

changing interactively 19

for elements 19

for interfaces 18 , 87

for windows 18 , 87

specifying 17 , 17 - 19

specifying directly 18

top-level-interface-display-state function 62

transform graphics state parameter 122

U

unconvert-color function 134

user input 89 - 103

using callback functions 15

using the CAPI 6

V

:value-function keyword argument 102

values

prompting for 91 - 97

:vertical-scroll initarg 16 , 45

visible constraints 50

:visible-max-height initarg 50

:visible-max-width initarg 50

:visible-min-height initarg 50

:visible-min-width initarg 50

W

window titles 18 , 87

window-modal dialogs 97

Windows themes 12

Windows XP themes 12

with-dialog-results macro 98

with-document-pages macro 147

with-external-metafile macro 119

with-graphics-state macro 124

with-page macro 147

with-page-transform macro 148

with-pixmap-graphics-port macro 119 , 120 , 134

with-print-job macro 119 , 145

Works menu

in CAPI objects 7

X

X resources

fallback resources 12

in delivered applications 12

X11

resources 12

:x-ratios initarg 46

Y

:y-ratios initarg 46


LispWorks CAPI User Guide (Unix version) - 17 Mar 2008

NextPrevTopContents