commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10572 - gnuradio/branches/developers/jblum/gui_guts/g


From: jblum
Subject: [Commit-gnuradio] r10572 - gnuradio/branches/developers/jblum/gui_guts/gr-wxgui/src/python
Date: Sat, 7 Mar 2009 01:15:47 -0700 (MST)

Author: jblum
Date: 2009-03-07 01:15:46 -0700 (Sat, 07 Mar 2009)
New Revision: 10572

Modified:
   gnuradio/branches/developers/jblum/gui_guts/gr-wxgui/src/python/common.py
Log:
restored the custom data event

Modified: 
gnuradio/branches/developers/jblum/gui_guts/gr-wxgui/src/python/common.py
===================================================================
--- gnuradio/branches/developers/jblum/gui_guts/gr-wxgui/src/python/common.py   
2009-03-07 01:10:14 UTC (rev 10571)
+++ gnuradio/branches/developers/jblum/gui_guts/gr-wxgui/src/python/common.py   
2009-03-07 08:15:46 UTC (rev 10572)
@@ -47,6 +47,15 @@
        for key in controller.keys(): _register_access_method(destination, 
controller, key)
 
 ##################################################
+# Custom Data Event
+##################################################
+EVT_DATA = wx.PyEventBinder(wx.NewEventType())
+class DataEvent(wx.PyEvent):
+       def __init__(self, data):
+               wx.PyEvent.__init__(self, wx.NewId(), EVT_DATA.typeId)
+               self.data = data
+
+##################################################
 # Input Watcher Thread
 ##################################################
 class input_watcher(threading.Thread):





reply via email to

[Prev in Thread] Current Thread [Next in Thread]