diff options
author | Josh Blum | 2009-10-07 09:48:24 -0700 |
---|---|---|
committer | Josh Blum | 2009-10-07 09:48:24 -0700 |
commit | af5e21e35cda1d9d3e4bd659364dafe181274064 (patch) | |
tree | d01a244cb01da43cfe00c968a79d1f3bfbf79f5e /gr-wxgui/src/python/histosink_gl.py | |
parent | bbecdd8372f57d49ad0046d9d096f322059005cb (diff) | |
download | gnuradio-af5e21e35cda1d9d3e4bd659364dafe181274064.tar.gz gnuradio-af5e21e35cda1d9d3e4bd659364dafe181274064.tar.bz2 gnuradio-af5e21e35cda1d9d3e4bd659364dafe181274064.zip |
setup special wxgui connect on sinks, needs testing
Diffstat (limited to 'gr-wxgui/src/python/histosink_gl.py')
-rw-r--r-- | gr-wxgui/src/python/histosink_gl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-wxgui/src/python/histosink_gl.py b/gr-wxgui/src/python/histosink_gl.py index db6606e41..509f746be 100644 --- a/gr-wxgui/src/python/histosink_gl.py +++ b/gr-wxgui/src/python/histosink_gl.py @@ -31,7 +31,7 @@ from constants import * ################################################## # histo sink block (wrapper for old wxgui) ################################################## -class histo_sink_f(gr.hier_block2): +class histo_sink_f(gr.hier_block2, common.wxgui_hb): """ A histogram block and a gui window. """ @@ -56,8 +56,6 @@ class histo_sink_f(gr.hier_block2): histo = gr.histo_sink_f(msgq) histo.set_num_bins(num_bins) histo.set_frame_size(frame_size) - #connect - self.connect(self, histo) #controller self.controller = pubsub() self.controller.subscribe(NUM_BINS_KEY, histo.set_num_bins) @@ -79,6 +77,8 @@ class histo_sink_f(gr.hier_block2): msg_key=MSG_KEY, ) common.register_access_methods(self, self.win) + #connect + self.wxgui_connect(self, histo) # ---------------------------------------------------------------- # Standalone test app |