diff options
author | Josh Blum <josh@joshknows.com> | 2009-10-08 20:12:34 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2009-10-08 20:12:34 -0700 |
commit | 23fa9183aca592865c0652f87709950af5ccd011 (patch) | |
tree | b51ea2896461b0d86ba266ce0c9a6ae674d6f592 /gr-wxgui/src/python/plotter/common.py | |
parent | dfa5e0a5bccb6b3539c1230281b5bec60196f8a2 (diff) |
point label transpareny, horizontal offset, and toggle on/off capability
Diffstat (limited to 'gr-wxgui/src/python/plotter/common.py')
-rw-r--r-- | gr-wxgui/src/python/plotter/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/plotter/common.py b/gr-wxgui/src/python/plotter/common.py index 7699986aad..4c50cd7872 100644 --- a/gr-wxgui/src/python/plotter/common.py +++ b/gr-wxgui/src/python/plotter/common.py @@ -102,6 +102,7 @@ class point_label_thread(threading.Thread, mutex): #bind plotter mouse events self._plotter.Bind(wx.EVT_MOTION, lambda evt: self.enqueue(evt.GetPosition())) self._plotter.Bind(wx.EVT_LEAVE_WINDOW, lambda evt: self.enqueue(None)) + self._plotter.Bind(wx.EVT_RIGHT_DOWN, lambda evt: plotter.enable_point_label(not plotter.enable_point_label())) #start the thread threading.Thread.__init__(self) self.start() |