Added ability to switch windows by clicking on them.
Added clipping option to window. Refactored test code into own classes.
This commit is contained in:
parent
ec75a46c6d
commit
ce5295348e
2 changed files with 166 additions and 27 deletions
|
|
@ -29,7 +29,7 @@ class EventSource(object):
|
|||
|
||||
class WindowEventSource(EventSource):
|
||||
mouse_events = ['mouse-enter', 'mouse-leave', 'drag', 'mouse-move', 'hover']
|
||||
mouse_wheel_events = ['scroll-up', 'scroll-down']
|
||||
mouse_wheel_events = ['scroll']
|
||||
mouse_button_down_events = ['mouse-right', 'mouse-left', 'mouse-middle']
|
||||
mouse_button_drag_events = ['mouse-right-drag', 'mouse-left-drag', 'mouse-middle-drag']
|
||||
mouse_button_up_events = ['mouse-right-up', 'mouse-left-up',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue