Author: dmeyer
Date: Fri Jan 12 15:07:49 2007
New Revision: 2382

Modified:
   trunk/display/src/x11.py

Log:
Switch from Signal() dict to Signals() for testing

Modified: trunk/display/src/x11.py
==============================================================================
--- trunk/display/src/x11.py    (original)
+++ trunk/display/src/x11.py    Fri Jan 12 15:07:49 2007
@@ -34,7 +34,7 @@
 
 # kaa notifier for the socket callback
 import kaa.notifier
-from kaa.notifier import Signal
+from kaa.notifier import Signals
 
 # the display module
 import _X11
@@ -203,16 +203,15 @@
         self._fs_size_save = None
         self._last_configured_size = 0, 0
 
-        self.signals = {
-            "key_press_event": Signal(),
-            "focus_in_event": Signal(),
-            "focus_out_event": Signal(),
-            "expose_event": Signal(),
-            "map_event": Signal(),
-            "unmap_event": Signal(),
-            "resize_event": Signal(),
-            "configure_event": Signal(),
-        }
+        self.signals = Signals(
+            "key_press_event", # key pressed
+            "focus_in_event",  # window gets focus
+            "focus_out_event", # window looses focus
+            "expose_event",    # expose event
+            "map_event",       # ?
+            "unmap_event",     # ?
+            "resize_event",    # window resized
+            "configure_event") # ?
 
     def get_display(self):
         return self._display

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to