From 23fa9183aca592865c0652f87709950af5ccd011 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 8 Oct 2009 20:12:34 -0700 Subject: point label transpareny, horizontal offset, and toggle on/off capability --- gr-wxgui/src/python/plotter/common.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gr-wxgui/src/python/plotter/common.py') diff --git a/gr-wxgui/src/python/plotter/common.py b/gr-wxgui/src/python/plotter/common.py index 7699986aa..4c50cd787 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() -- cgit