Re: [gtk-list] multiple arguments to signal event



Hi!
You may replace the NULL by a pointer to a struct that contains all the
information you need.

Greetings,
Roland Bock

jay wrote:
> 
> Say I have a button and I attach a signal handler onto it:
> 
> gtk_signal_connect(GTK_OBJECT(button),"clicked",GTK_SIGNAL_FUNC(handler),
> NULL);
> 
> How can I pass multiple arguments (like two text entry fields) to the
> handler function?  I've gone through multiple versions of the gtk
> documentation, the faq, and have looked through quite a bit of code, and
> still can't figure it out.
> Excuse me if this is a stupid question... I'm quite new to gtk.
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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