Re: GtkEventBox & button_release_event



On Wed, 16 May 2007 04:13:18 +0200
Salvatore De Paolis <iwkse claws-mail org> wrote:

> 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.

i reply to myself:
was a problem of nested widgets, didn't add the eventbox to the correct
widget.



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