Re: GtkEntry defining handler for activate (or any) signal



Well it is easy...

g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);

tom

On 06/05/2013 07:23 AM, Thomas A. Moulton wrote:
Things are progressing well (thanks for all the help btw)

I have some fixed and dynamic chat boxes and using GtkEntry for the input.
With the fixed boxes I used glade to create them and defining a function
for the 'activate' signal was simple, but when creating the same windows by hand
I don't see how to define the signal handler function.

I looked in GtkWidget

I am sure it is easy... once ya know :)

tom
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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