2 callbacks to same event

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

 



Hello.

I try to connect two callbacks to the same event of an event_box. but the one i connect the last is ignored.

after creating the event_box, this is what i do:


g_signal_connect (event_box, "button_release_event",
				G_CALLBACK (CB), (gpointer) data);
	
g_signal_connect (event_box, "button_release_event",
				G_CALLBACK (toggle), GINT_TO_POINTER(0));


in this case just the callback "CB" is called, "toggle" is ignored. if i switch the order "CB" is ignored...


Do i have to do something before i connect the signals to the eventbox?


occures on osx with: GTK 2.22.1
and on linux with: GTK 2.24.4


thanks for any hints.
ingo
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux