|
From: Joe E. <jen...@fl...> - 2005-03-19 16:37:24
|
Brian Griffin wrote: > I guess my point is M$ can get things wrong also. Just because they do > something some way doesn't make it a standard. +1. Windows gets a lot of things right, but not everything. If Tk can do better, it should. That said, I'm not sure where this particular feature falls on the right thing/wrong thing spectrum (my home machine has a trackball, no mousewheel, so I'm a little bit in the dark here ... :-) The convention on X11 (which Tk follows) is that mousewheel events are delivered to the window under the mouse pointer, not the one with keyboard focus. With this model, comboboxes are less likely to be accidentally mousewheeled; OTOH, it also makes combobox mousewheel bindings somewhat less useful. I thought there was talk of making Tk on Windows work the same way (i.e., mousewheel events follow pointer instead of focus) -- what became of that? Implementation question: should the selected item "wrap around" when scrolled with the mousewheel, or should scrolling up (resp down) stop at the first (resp last) item? --Joe English jen...@fl... |