control-event%
Superclass: event%
A control-event% object contains information about a
control event. An instance of control-event% is always
provided to a control or menu item callback procedure.
( -> instantiate control-event% () (event-type _) [(time-stamp _)])control-event% object
event-type : symbol in '(button check-box choice list-box list-box-dclick text-field text-field-enter menu slider radio-box)
time-stamp = : exact integer0
The event-type argument is one of the following:
'button -- for button% clicks
'check-box -- for check-box% toggles
'choice -- for choice% item selections
'list-box -- for list-box% selections and deselections
'list-box-dclick -- for list-box% double-clicks
'text-field -- for text-field% changes
'text-field-enter -- for single-line text-field% Enter event
'menu -- for selectable-menu-item<%> callbacks
'slider -- for slider% changes
'radio-box -- for radio-box% selection changes
'menu-popdown -- for popup-menu% callbacks (item selected)
'menu-popdown-none -- for popup-menu% callbacks (no item selected)
This value is extracted out of a control-event% object with
the
get-event-type method.
See the corresponding get- and set- methods for
information about time-stamp.
Methods
get-event-type
set-event-type
All Methods
get-event-type from control-event%
get-time-stamp from event%
set-event-type from control-event%
set-time-stamp from event%