Hello,

I have an application with a PyGtk NoteBook.
The tabs of this notebook contain ScrollableWindows, which may contain various fields, including SpinButtons.

I would like the mouse wheel to _always_ scroll the displayed ScrollableWindow, wherever the mouse pointer is.

Currently,

- if the pointer is on a notebook tab, it switches the notebook pages
- if it is on a spinbutton, it modifies the numeric value, what I want to avoid because it could lead to mistakes - if it is on a ScrollableWindow, but not on a SpinButton, it scrolls the ScrollableWindow ... but if scrolling the window puts a SpinButton behind the pointer, the value of this SpinButton is modified :-(

Is there a way to disable the scroll-event on Notebooks/SpinButtons ? To make the ScrollableWindows grab the "mouse wheel focus"?

Thanks

Sébastien Aubry

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to