/[circus]/circus/modules/CircusExample/example.py
ViewVC logotype

Diff of /circus/modules/CircusExample/example.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tvon, Sat Nov 16 13:43:55 2002 UTC revision 1.4 by tvon, Sun Nov 17 03:42:38 2002 UTC
# Line 40  class MyModule(module.Module): Line 40  class MyModule(module.Module):
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:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26