Hi,
I can use my mousewheel to scroll up and down in a TreeCtrl and
GenericDirCtrl, but not a Grid. Would this be considered a "flaw"?
Should it be reported to the wxWindows project or what?
···
--
Chuck
http://ChuckEsterbrook.com
Hi,
I can use my mousewheel to scroll up and down in a TreeCtrl and
GenericDirCtrl, but not a Grid. Would this be considered a "flaw"?
Should it be reported to the wxWindows project or what?
--
Chuck
http://ChuckEsterbrook.com
On win ME, python 2.2.2, wxPy 2.4.0.7 the mousewheel works on the grid.
Chris.
----- Original Message -----
From: Chuck Esterbrook
To: wxPython-users@lists.wxwindows.org
Sent: Tuesday, April 08, 2003 5:14 PM
Subject: [wxPython-users] Mousewheel for the Grid?
Hi,
I can use my mousewheel to scroll up and down in a TreeCtrl and
GenericDirCtrl, but not a Grid. Would this be considered a "flaw"?
Should it be reported to the wxWindows project or what?
--
Chuck
http://ChuckEsterbrook.com
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Thanks. That's good enough for me since that's the platform I'll
eventually deploy on. (I'm currently developing on Linux.)
On Tuesday 08 April 2003 12:56 am, Chris Munchenberg wrote:
On win ME, python 2.2.2, wxPy 2.4.0.7 the mousewheel works on the
Grid
--
Chuck
http://ChuckEsterbrook.com
Chuck Esterbrook wrote:
Hi,
I can use my mousewheel to scroll up and down in a TreeCtrl and GenericDirCtrl, but not a Grid. Would this be considered a "flaw"? Should it be reported to the wxWindows project or what?
MouseWheel support can be tricky on X. You may get specific mouse events for it, or it may be translated to scroll events, or you may get nothing. AFAICT, it depends on the X server config, the type of window, who has the focus, the location of the mouse and the phase of the moon.
My guess on the wxGrid is that it is not doing it because the various visible parts of the window are actually subwindows of the scrolled window, not the scrolled window itself, so X is sending the mouse/scroll events to the wrong window. If you hold the mouse over the scroll bar and roll the wheel then you'll probably get results.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!