I did. See my message to the list from 21 May 2009 20:04 with the subject "Doing right click on some widgets doesn't work". That program creates two buttons. One "normal" and one "file chooser button". I attach the same signals to them, but the signal handler for button-press-event is never called for the file chooser button. I thought I understood signals in gtk by now. But this one beats me...
Dov
Dov
2009/5/25 Chris Vine <chris@xxxxxxxxxxxxxxxxxxxxx>
On Sun, 24 May 2009 22:18:23 +0300
Dov Grobgeld <dov.grobgeld@xxxxxxxxx> wrote:
> Thanks for trying to help. Unfortunately neitherI should aim to provide the simplest program example which demonstrates
> 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.
the problem. If it is just a matter of button press events, that
should be very simple indeed.
Chris
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list