Re: [Discuss-gnuradio] getting mouse position

2005-08-02 Thread Chuck Swiger
At 05:25 PM 8/1/2005 -0400, you wrote: WxPython gurus - I'm looking to get accurate readings from fftplot. Any clue appreciated: Just found something about registering events that works: import wx.lib.evtmgr as em ... em.eventManager.Register(self.Mouse, wx.EVT_LEFT_DOWN, self.panel)

[Discuss-gnuradio] getting mouse position

2005-08-01 Thread cswiger
WxPython gurus - I'm looking to get accurate readings from fftplot. Any clue appreciated: wxMouseEvent has a function GetPosition(). When I bind an event like wx.EVT_LEFT_DOWN to something like self.click() which just prints GetPosition() nothing happens. self.mouse = wx.MouseEvent() self.Bi