original commit: d7b87ced74fe033b2ca0b763d61da503df5876ce
This commit is contained in:
Matthew Flatt 1998-10-15 16:00:34 +00:00
parent dd08f04574
commit cc733f452d

View File

@ -297,17 +297,27 @@
cb icb
rb irb
ch
txt)])
txt)]
[names (list "label" "image label"
"button" "image button"
"list box"
"checkbox" "image checkbox"
"radio box" "image radiobox"
"choice"
"text")])
(make-object choice%
"Set Focus"
(cons "..." names)
lp
(lambda (c e)
(let ([v (send c get-selection)])
(when (positive? v)
(send (list-ref items (sub1 v)) focus)
(send c set-selection 0)))))
(cons (make-object popup-test-canvas%
items
(list "label" "image label"
"button" "image button"
"list box"
"checkbox" "image checkbox"
"radio box" "image radiobox"
"choice"
"text")
cp)
names
cp)
items)))
(define (big-frame h-radio? v-label? null-label? stretchy? special-label-font? special-button-font?)