GtkEventBox & button_release_event



Hi all

I'm trying to catch the release button event from a widget using a GtkEventBox.
After i create the GtkEventBox i use gtk_widget_set_events to set masks in this
way:
gtk_widget_set_events(viewer->scrollwin_ebox, GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK);

and i connect both signals to callback's functions but i'm not able to catch
the release event while the press event works good.

regards
Salvatore



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