Home | History | Annotate | Download | only in tkinter

Lines Matching defs:Event

180 class Event:
181 """Container for the properties of an event.
193 called with an Event as first argument. It will have the
194 following attributes (in braces are the event types for which
197 serial - serial number of event
203 state - state of the event as a number (ButtonPress, ButtonRelease,
207 time - when the event occurred
216 keysym - keysym of the event as a string (KeyPress, KeyRelease)
217 keysym_num - keysym of the event as a number (KeyPress, KeyRelease)
218 type - type of the event as a number
219 widget - widget in which the event occurred
255 return '<%s event%s>' % (
755 """Call FUNC once if the Tcl main loop has no event to
1170 """Enter event loop until all pending events have been processed by Tcl."""
1173 """Enter event loop until all idle callbacks have been called. This
1207 """Bind to this widget at event SEQUENCE a call to function FUNC.
1209 SEQUENCE is a string of concatenated event
1210 patterns. An event pattern is of the form
1225 An event pattern can also be a virtual event of the form
1227 event can be generated by event_generate.
1231 FUNC will be called if the event sequence occurs with an
1232 instance of Event as argument. If the return value of FUNC is
1247 """Unbind for this widget for event SEQUENCE the
1253 """Bind to all widgets at an event SEQUENCE a call to function FUNC.
1259 """Unbind for all widgets for event SEQUENCE all functions."""
1263 """Bind to widgets with bindtag CLASSNAME at event
1272 """Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
1397 e = Event()
1645 # Support for the "event" command, new in Tk 4.2.
1649 """Bind a virtual event VIRTUAL (of the form <<Name>>)
1650 to an event SEQUENCE such that the virtual event is triggered
1652 args = ('event', 'add', virtual) + sequences
1656 """Unbind a virtual event VIRTUAL from SEQUENCE."""
1657 args = ('event', 'delete', virtual) + sequences
1661 """Generate an event SEQUENCE. Additional
1662 keyword arguments specify parameter of the event
1664 args = ('event', 'generate', self._w, sequence)
1671 about the SEQUENCE bound to the virtual event VIRTUAL."""
1673 self.tk.call('event', 'info', virtual))
1688 defined Tcl function is called e.g. after an event occurred."""
2435 """Unbind for all items with TAGORID for event SEQUENCE the
2441 """Bind to all items with TAGORID at event SEQUENCE a call to function FUNC.
3342 """Unbind for all characters with TAGNAME for event SEQUENCE the
3348 """Bind to all characters with TAGNAME at event SEQUENCE a call to function FUNC.