button_press_event in GTK2



Hi, I've been working on a widget that is a gtkfixed subclass. To capture
button_presses I simply do 

widget_class->button_press_event = my_widget_button_press_handler;

in the class initialization. However this is not working with gtk2, for
some reason, maybe a change that I'm not aware of, button presses seem
not to be detected and the event handler is not being called. Can anybody
give me a hint? Thanks alot,
<ADRIAN>




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