Re: gtk_signal_connect vs. connect_object?



"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. ;-)

Havoc




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