bindings for scale widgets



Hello all,

My app has a main window containing (as well as other stuff) some
comboboxes and some hscale widgets. If I use the mouse scrollwheel to
go up and down, and the mouse pointer happens to be over one of these
widgets, instead of scrolling the window, it changes the widget value.
This unfortunately makes the scrollwheel too dangerous to use :-(
which is annoying.

I'd like to be able to stop the scrollwheel changing hscale and
optionmenu widgets, but I'm not sure what the best way is. I found
gtk_binding_*, which looks promising, but there's not much
documentation and the things I tried didn't seem to have any effect.
Does anyone have any good ideas on this?

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]