Doubt, adding several functions at the same event(GTK+)

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

 



I have two doubts about GTK+. The first is when I call:
gtk_signal_connect (widget, "key-press-event", G_CALLBACK (function1), NULL);
and then:
gtk_signal_connect (widget, "key-press-event", G_CALLBACK (function2), NULL);

when the event occurs, both functions will be called? The second doubt is because when I call
gtk_signal_connect (widget, "key-press-event", G_CALLBACK (function), NULL);
and press one key on the widget function "function" is not called? What else to add missing?
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux