g_signal_connect_swapped



Hi,

I am studying the "helloworld.c" example on the gtk.org website, but as
the examples are already a mixture of GTK1.2 and GTK2.0, things do not
compile as it should. "g_signal_connect_swapped" doesn't compile. 

eg.:
g_signal_connect_swapped (GTK_OBJECT (button), "clicked",
                             GTK_SIGNAL_FUNC (gtk_widget_destroy),
                             GTK_OBJECT (window));

Is there still a manual somewhere that describes the GTK1.2 version of
GTK ? It seems as if I stepped into GTK in the middle of a transition,
and this causes some confusion. Also I will probably still use GTK1.2
for a while as I cannot take the risk of instability of the new GTK2.0
version which will probably be the case in the beginning.

Best regards,

Peter



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