mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Document :key
This commit is contained in:
parent
8659b31f71
commit
3f695ef471
2 changed files with 5 additions and 4 deletions
|
|
@ -1053,8 +1053,8 @@ ON-TOUCH-CANCEL-HANDLER is nil unbind the event."))
|
|||
|
||||
(defgeneric set-on-character (clog-obj on-character-handler &key one-time)
|
||||
(:documentation "Set the ON-CHARACTER-HANDLER for CLOG-OBJ. If
|
||||
ON-CHARACTER-HANDLER is nil unbind the event. Setting this event
|
||||
will replace a on-key-down"))
|
||||
ON-CHARACTER-HANDLER is nil unbind the event. Setting this event to
|
||||
nil will unbind on-key-press also."))
|
||||
|
||||
(defmethod set-on-character ((obj clog-obj) handler &key (one-time nil))
|
||||
(set-event obj "keypress"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue