Re: gtk-demos/tests/examples




On Nov 15, 2004, at 4:08 PM, Stephen Nestinger wrote:

For instance, under the Theory of Signals and Callbacks page of the tutorials, it states that " g_signal_connect_swapped() is the same as g_signal_connect() except that the callback function only uses one argument, a pointer to a GTK object" and that the callback function should follow a specific form but some of the example code utilizes a callback function that takes in 2 arguments with g_signal_connect_swapped().

er, then the tutorial is wrong. _swapped() merely swaps the instance and user data parameters when invoking the callback -- the number and order of arguments is normal.


--
Holy crap, dude, we have kids!
	-- Elysse, six days after giving birth to twins




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