Re: [gtk-list] Re: Gtk Question



On Thu, 28 May 1998 gale@daedalus.dra.hmg.gb wrote:

> > 
> > 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.

i wrote a little proggy for GLE that puts out the widget tree (the one
that is currently in the tutorial). i guess i could extend it to also
dump the required prototypes for signal handlers, but i fear that that
would become a very long list (GtkWidgetClass already introduces 50
signals on its own), do you think we should put such a list into the
tutorial/faq or else file?

> 
> Tony
> 

---
ciaoTJ



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