Home | History | Annotate | Download | only in idle_test

Lines Matching defs:Event

7 class Event(object):
8 '''Minimal mock with attributes for testing event handlers.
11 that access attributes of the event passed. If a callback ignores
12 the event, other than the fact that is happened, pass 'event'.
14 Keyboard, mouse, window, and other sources generate Event instances.
15 Event instances have the following attributes: serial (number of
16 event), time (of event), type (of event as number), widget (in which
17 event occurred), and x,y (position of mouse). There are other
19 tkinter.Event.__doc__ has more but is still not complete.
22 "Create event with attributes needed for test"
297 "Bind to this widget at event sequence a call to function func."