summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/fftsink_gl.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/src/python/fftsink_gl.py')
-rw-r--r--gr-wxgui/src/python/fftsink_gl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/fftsink_gl.py b/gr-wxgui/src/python/fftsink_gl.py
index 6b268f6cb..dc31e84a1 100644
--- a/gr-wxgui/src/python/fftsink_gl.py
+++ b/gr-wxgui/src/python/fftsink_gl.py
@@ -127,6 +127,9 @@ class _fft_sink_base(gr.hier_block2, common.wxgui_hb):
setattr(self.win, 'set_peak_hold', getattr(self, 'set_peak_hold')) #BACKWARDS
#connect
self.wxgui_connect(self, fft, sink)
+
+ def set_callback(self,callb):
+ self.win.set_callback(callb)
class fft_sink_f(_fft_sink_base):
_fft_chain = blks2.logpwrfft_f