Changeset main,63 for main/form.lisp
- Timestamp:
- 11/17/2007 12:40:30 AM (19 years ago)
- branch-nick:
- tui
- revision id:
- dsowen@fugue88.ws-20071117004030-ov0o4jfbzl3b9vup
- File:
-
- 1 edited
-
main/form.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
main/form.lisp
r47 r63 226 226 227 227 228 (defmethod activate ((form form) & optional (callback 'nothing))228 (defmethod activate ((form form) &key (key-callback 'nothing) &allow-other-keys) 229 229 (with-slots (peers) form 230 230 (flet ((callback (key) 231 231 (if (member key '(#\Return #\Newline #\Tab :key-btab)) 232 232 key 233 (funcall callback key))))233 (funcall key-callback key)))) 234 234 (let ((focus 0) 235 235 (n (length peers))) … … 237 237 (ensure-widget-visible form focus) 238 238 (refresh form) 239 (let ((key (activate (aref peers focus) #'callback)))239 (let ((key (activate (aref peers focus) :key-callback #'callback))) 240 240 (case key 241 241 ((#\Return #\Newline #\Tab)
Note: See TracChangeset
for help on using the changeset viewer.
