Re: Having an event box pass unhandled events to its child



On Sun, 24 May 2009 22:18:23 +0300
Dov Grobgeld <dov grobgeld gmail com> wrote:
> Thanks for trying to help. Unfortunately neither
> gtk_widget_add_events() nor the gtk_widget_event() "trick" is able to
> solve the problem. Regarding the gtk_widget_add_events(), I added a
> call to
> 
>     gtk_widget_add_events(w_fs_button, GDK_ALL_EVENTS_MASK);
> 
> to m the program from my previous email, but didn't make any
> difference. The following call is still ignored/blocked:
> 
>     g_signal_connect(w_fs_button, "button-press-event",
>                      G_CALLBACK(cb_button_press_event), NULL);
> 
> Trying to proxy events by using a gtk_event_box() doesn't work either.
> 
> Is there no "strace" like system in gobject that makes it possible to
> dump all signals that are being sent in a program? That might help me
> figuring out what is going wrong.

I should aim to provide the simplest program example which demonstrates
the problem.  If it is just a matter of button press events, that
should be very simple indeed.

Chris



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