Hi,

On Tue, 2007-05-08 at 10:46 -0700, crazyluke wrote:

> This code was working as a key event handler:
> 
> static int key_pressed3(GtkWidget* w, GdkEventKey* event, gpointer data) {
>       if (event->keyval == 65293)
>               actionOptions(w, data);
>       return true;
> }

Your code returns TRUE from the event handler. This stops signal
emission and keeps other handlers from being invoked. Check the
documentation of GtkWidget::key-press-event (or any other event signal
handler).

BTW, this would have been more appropriate to ask on gtk-list or
gtk-app-devel-list as this list is about development of GTK+, not about
development using GTK+.


Sven


_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to