Re: Sending Parameters when connecting signals.



Yes, take a look at sigc::bind()

http://libsigc.sourceforge.net/libsigc2/docs/reference/html/group__bind.html

Jim

On 10/29/2009 10:06 PM, Oscar Dávila wrote:
Is there a way to send parameters to displaytext when connecting a signal?

button->signal_clicked().connect(sigc::ptr_fun(display_text));

display_text(char text);

--
Atentamente:
Oscar Dávila Ramírez
odavilar gmail com <mailto:odavilar gmail com>




_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


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