summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/waterfallsink_gl.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/src/python/waterfallsink_gl.py')
-rw-r--r--gr-wxgui/src/python/waterfallsink_gl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/waterfallsink_gl.py b/gr-wxgui/src/python/waterfallsink_gl.py
index c2c4e8df7..b69c5dda0 100644
--- a/gr-wxgui/src/python/waterfallsink_gl.py
+++ b/gr-wxgui/src/python/waterfallsink_gl.py
@@ -113,6 +113,9 @@ class _waterfall_sink_base(gr.hier_block2, common.wxgui_hb):
#connect
self.wxgui_connect(self, fft, sink)
+ def set_callback(self,callb):
+ self.win.set_callback(callb)
+
class waterfall_sink_f(_waterfall_sink_base):
_fft_chain = blks2.logpwrfft_f
_item_size = gr.sizeof_float