wx.grid double left click event

wxPython,

I am having a wx.grid event issue.
Is there a solution to only get a single event when the left mouse button is double clicked?
Prior to getting the left double click event, a left click event is received.

The program at http://www.blog.pythonlibrary.org/2010/03/18/wxpython-an-introduction-to-grids/ duplicated my issue.

Thanks,
Bruce

No. If you want to be able to deal with both click and dclick events then you need to do something like set a timer in the click event and clear the timer in the dlick event, and then only perform the click functionality if the timer expires without the dclick event happening.

···

On 6/15/12 7:04 PM, bruce g wrote:

wxPython,

I am having a wx.grid event issue.
Is there a solution to only get a single event when the left mouse
button is double clicked?
Prior to getting the left double click event, a left click event is
received.

--
Robin Dunn
Software Craftsman