3.15 control-event%

On this page:
new
Inherited methods:
from event%
top
up

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.

constructor

[event-typeevent-type]
[ [time-stamptime-stamp]])
event-type :
(or/c 'button'check-box'choice
'list-box'list-box-dclick'list-box-column
'text-field'text-field-enter
'menu'slider'radio-box'tab-panel
'menu-popdown'menu-popdown-none)
time-stamp:exact-integer? =0
The event-type argument is one of the following:

This value is extracted out of a control-event% object with the get-event-type method.

See get-time-stamp for information about time-stamp.

method

(send a-control-event get-event-type )

(or/c 'button'check-box'choice
'list-box'list-box-dclick'text-field
'text-field-enter'menu'slider'radio-box
'menu-popdown'menu-popdown-none'tab-panel)
Returns the type of the control event. See control-event% for information about each event type symbol.

method

(send a-control-event set-event-type type)void?

type :
(or/c 'button'check-box'choice
'list-box'list-box-dclick'text-field
'text-field-enter'menu'slider'radio-box
'menu-popdown'menu-popdown-none'tab-panel)
Sets the type of the event. See control-event% for information about each event type symbol.

top
up

AltStyle によって変換されたページ (->オリジナル) /