Home | History | Annotate | Download | only in lib-tk

Lines Matching refs:Event

126 class Event:
127 """Container for the properties of an event.
139 called with an Event as first argument. It will have the
140 following attributes (in braces are the event types for which
143 serial - serial number of event
149 state - state of the event as a number (ButtonPress, ButtonRelease,
153 time - when the event occurred
162 keysym - keysym of the event as a string (KeyPress, KeyRelease)
163 keysym_num - keysym of the event as a number (KeyPress, KeyRelease)
164 type - type of the event as a number
165 widget - widget in which the event occurred
540 """Call FUNC once if the Tcl main loop has no event to
961 """Enter event loop until all pending events have been processed by Tcl."""
964 """Enter event loop until all idle callbacks have been called. This
998 """Bind to this widget at event SEQUENCE a call to function FUNC.
1000 SEQUENCE is a string of concatenated event
1001 patterns. An event pattern is of the form
1016 An event pattern can also be a virtual event of the form
1018 event can be generated by event_generate.
1022 FUNC will be called if the event sequence occurs with an
1023 instance of Event as argument. If the return value of FUNC is
1038 """Unbind for this widget for event SEQUENCE the
1044 """Bind to all widgets at an event SEQUENCE a call to function FUNC.
1050 """Unbind for all widgets for event SEQUENCE all functions."""
1054 """Bind to widgets with bindtag CLASSNAME at event
1063 """Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE
1189 e = Event()
1416 # Support for the "event" command, new in Tk 4.2.
1420 """Bind a virtual event VIRTUAL (of the form <<Name>>)
1421 to an event SEQUENCE such that the virtual event is triggered
1423 args = ('event', 'add', virtual) + sequences
1427 """Unbind a virtual event VIRTUAL from SEQUENCE."""
1428 args = ('event', 'delete', virtual) + sequences
1432 """Generate an event SEQUENCE. Additional
1433 keyword arguments specify parameter of the event
1435 args = ('event', 'generate', self._w, sequence)
1442 about the SEQUENCE bound to the virtual event VIRTUAL."""
1444 self.tk.call('event', 'info', virtual))
1459 defined Tcl function is called e.g. after an event occurred."""
2212 """Unbind for all items with TAGORID for event SEQUENCE the
2218 """Bind to all items with TAGORID at event SEQUENCE a call to function FUNC.
3106 """Unbind for all characters with TAGNAME for event SEQUENCE the
3112 """Bind to all characters with TAGNAME at event SEQUENCE a call to function FUNC.