How to use the mouse wheel?



Hi,

I'm trying to use the mouse wheel, I already have a mouse callback,
I think I just need to know what the GDK_*_MASK  definition is for the
wheel, I have my widget set up for button press/release:

gtk_widget_add_events(widget, GDK_BUTTON_PRESS_MASK | 
                        GDK_BUTTON_RELEASE_MASK);


Thanks
-- 
Daniel Pekelharing




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