immutable class TK_EVENT < $TK_EVENT
****
Standard mouse and window events Eg: TK_EVENT::Widget_enter
_____TK_EVENT::Widget_enter.Control
______________(enter_a_widget_when_the_control_button_is_pressed)
_____TK_EVENT::Visibility.Mouse_1(when_a_widget_becomes_visible_and_
_________________mouse_button_1_is_pressed)


Ancestors
$TK_EVENT



Public


Features
Alt:SAME .. Included as Alt
**** Event Modifier: hold down the alt key as well to trigger the event
Caps_lock:SAME .. Included as Caps_lock
**** lock,any are pSather Event Modifier: hold down the caps lock key as well to trigger the event
Control:SAME .. Included as Control
**** Event Modifier: hold down the control key as well to trigger the event
Destroy: SAME
Double:SAME .. Included as Double
**** Double occurrence of the same event, usually a click
Expose: SAME
Ignore_others:SAME .. Included as Ignore_others
**** keywords
Leave: SAME
Meta:SAME .. Included as Meta
**** Event Modifier: hold down the meta key as well to trigger the event
Motion: SAME
Mouse_1:SAME .. Included as Mouse_1
**** Modifier: while mouse button 1 is being held down
Mouse_2:SAME .. Included as Mouse_2
Mouse_3:SAME .. Included as Mouse_3
Shift:SAME .. Included as Shift
**** Event Modifier: hold down the shift key as well to trigger the event
Triple:SAME .. Included as Triple
Visibility: SAME
Widget_enter: SAME
**** Not enter key!
cb_str: STR
**** Return the callback specification string. Use the default string until strings have been provided for all event types
str: STR .. Included as str
**** Return the string that Tcl needs to describe this event


Private

cb(s: STR): SAME
**** Set the callback string for this event (void otherwise)
attr cb_stored: STR;
**** String used to get the callback info from the widget
attr cb_stored: STR;
**** String used to get the callback info from the widget
create(s: STR): SAME .. Included as create
**** Should not be created directly, but by one of the other calls.
const default_cb: STR := "@# @a @b @c @d @f @h @k @m @o @p @s @t @w @x @y @@A @B @E @K @N @R @T @W @X @Y"; .. Included as default_cb
**** No callback info until a string is actualy set, no information is provided
attr detail: STR; .. Included as detail
****
attr detail: STR; .. Included as detail
****
attr has_detail: BOOL; .. Included as has_detail
**** By default detail is not specified
attr has_detail: BOOL; .. Included as has_detail
**** By default detail is not specified
attr internal_str: STR; .. Included as internal_str
attr internal_str: STR; .. Included as internal_str
prepend(c: STR): SAME .. Included as prepend
**** Prepend some new modifier
set_detail(s: STR): SAME .. Included as set_detail
**** Set the detail field of this event.
verify_non_void(c: STR) .. Included as verify_non_void
**** Make sure that an event is set

The Sather Home Page