I've just started developing with wxPython on a Mac (Leopard) -- it's very nice.
One thing I've just noticed is that the generic buttons in wxPython (e.g, GenButton, GenBitmapButton) do not seem to be as responsive to button clicks as the "native" button widgets (wx.Button, wx.BitmapButton). When I use GenButton and I click rapidly, the first click is acknowledged, but subsequent clicks are ignored (the button does not respond graphically and I do not receive the events). Furthermore, other widgets such as the TreeCtrl also "miss" clicks. When I used the native widgets, I do not miss any clicks.
It is this a known problem, or is there some workaround?
I don't see this behavior with generic buttons on Ubuntu 7.10.
I have noticed the button issue as well. When looking at the source there is some conditional code for EVT_LEFT_DCLICK that is only set for windows. Removing this gets the clicking to be more responsive.
I've just started developing with wxPython on a Mac (Leopard) -- it's very nice.
One thing I've just noticed is that the generic buttons in wxPython (e.g, GenButton, GenBitmapButton) do not seem to be as responsive to button clicks as the "native" button widgets (wx.Button, wx.BitmapButton). When I use GenButton and I click rapidly, the first click is acknowledged, but subsequent clicks are ignored (the button does not respond graphically and I do not receive the events). Furthermore, other widgets such as the TreeCtrl also "miss" clicks. When I used the native widgets, I do not miss any clicks.
It is this a known problem, or is there some workaround?
I don't see this behavior with generic buttons on Ubuntu 7.10.
Thanks,
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
This works for me. Furthermore, I made a similar change to wx/lib/buttonpanel.py (see below) makes the buttons in the button panel responsive. Perhaps this is a general issue of double click events being ignored in contexts where it should (or should be allowed to) only be interpreted as a mouse down event.
In System Preferences on my Mac, I adjusted my double click speed to the fastest setting. This makes clicking fast on the TreeCtrl and TreeListCtrl more responsive, but this is not the best solution.
I have noticed the button issue as well. When looking at the source there is some conditional code for EVT_LEFT_DCLICK that is only set for windows. Removing this gets the clicking to be more responsive.
I've just started developing with wxPython on a Mac (Leopard) -- it's very nice.
One thing I've just noticed is that the generic buttons in wxPython (e.g, GenButton, GenBitmapButton) do not seem to be as responsive to button clicks as the "native" button widgets (wx.Button, wx.BitmapButton). When I use GenButton and I click rapidly, the first click is acknowledged, but subsequent clicks are ignored (the button does not respond graphically and I do not receive the events). Furthermore, other widgets such as the TreeCtrl also "miss" clicks. When I used the native widgets, I do not miss any clicks.
It is this a known problem, or is there some workaround?
I don't see this behavior with generic buttons on Ubuntu 7.10.
Thanks,
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
I have noticed the button issue as well. When looking at the source there is some conditional code for EVT_LEFT_DCLICK that is only set for windows. Removing this gets the clicking to be more responsive.