Re: [gtk-list] Re: Gtk Question



> 
> Guys (Owen, Shawn, Tim etc): Achint Sandhu has just been caught by this,
> I got caught by it a few weeks ago, everyone gets caught by it! You are being
> very patient in pointing out the same solution time and time again, but don't
> you think it might be time to add a routine 'gtk_event_signal_connect()' to
> the API? It would look just like  'gtk_signal_connect()', but would insist on
> a GTK_EVENT_SIGNAL_FUNC as its 3rd arg.
> 

Things aren't quite this simple, as some signals also have different
arguments (the clist "select_row" signal, for example). In an effort to
clear things up a bit I have written a section on Events for the Tutorial
and will try and clarify the fact that not all signals take the same
arguments. I think that moving away from saying that signal callbacks are
defined like this and event callbacks are defined like that will help
to clear things up.

Tony



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