40 |
pass |
pass |
41 |
|
|
42 |
# This will be called by Ringmaster whenever one of my_events has been |
# This will be called by Ringmaster whenever one of my_events has been |
43 |
# received. |
# received. Any exceptions that occour in here will be caught by the |
44 |
|
# parent Module() |
45 |
def handle_event(self, event): |
def handle_event(self, event): |
46 |
# http://python-xlib.sourceforge.net/doc/html/python-xlib_10.html#SEC9 |
# http://python-xlib.sourceforge.net/doc/html/python-xlib_10.html#SEC9 |
47 |
if event.type == X.KeyPress: |
if event.type == X.KeyPress: |