Re: gtk_signal_connect vs. connect_object?



Havoc Pennington wrote:

> "David J. Topper" <topper@virginia.edu> writes:
> > Hi folks,
> >
> > What's the difference between the gtk_signal_connect and
> > gtk_signal_conect_object (and related) functions?  I recall an earlier
> > tutorial had early example with both.  I can't find any info on the
> > difference.
> >
> > Examples?
> >
>
> connect_object() swaps the first callback argument (the emitting
> object) and the last one (user data). It's called connect_object() for
> historical reasons, and the name no longer makes any sense. ;-)
>

all these historical functions should dissapear sooner or later in GTK.
Maybe GTK 2.0/2.2?
I think all of them only make the libraries bigger and more difficult to
learn...
IMHO breaking backwards compatibility is neccesary sometimes... (you can
always have various versions of the same library on the system, can't
you?)

>
> Havoc
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list





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