mouse wheel events

i have a widget that is a gtkbin; inside there is a gtkscrolledwindow

i want to intercept scroll-event from my widget without pass it to the internal gtkscrolledwindow

i set widget_class->scroll_event and GDK_BUTTON_PRESS_MASK but the scroll-event goes always to the gtkscrolledwindow and not first to my widget

what am i wrong?

thanks in advance

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