Re: gtk_signal_connect vs. connect_object?
- From: Vlad Harchev <hvv hippo ru>
- To: Antonio Campos <acampos ceronet com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: gtk_signal_connect vs. connect_object?
- Date: Tue, 22 Aug 2000 10:38:04 +0500 (SAMST)
On Tue, 22 Aug 2000, Antonio Campos wrote:
> Havoc Pennington wrote:
> > "David J. Topper" <firstname.lastname@example.org> 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.
Why? How will you connect handlers to signals then if all "those" functions
would be removed?
> Maybe GTK 2.0/2.2?
> I think all of them only make the libraries bigger and more difficult to
> IMHO breaking backwards compatibility is neccesary sometimes... (you can
> always have various versions of the same library on the system, can't
] [Thread Prev