Re: gtk_signal_connect_object () problem



Quoted by a farm of super mummies
For `Tzunga Ma <freekathmandu yahoo com>' 
On Wednesday, 13 August 2003 (06:27):

i guess i have problem with gtk_signal_connect_object, according to GTK
reference manual, the syntax for gtk_signal_connect_object is
gtk_signal_connect_object( GtkObject *object, const gchar *name, GtkSignalFunc
func, gointer func_data);
how can i pass more than one value on func_data ?

        I guess the best way is passing a pointer to a structure with your data. You
can also use object_set_data (g_* for GTK+2 and gtk_* for GTK+1.2); use
object_get_data to retrieve it. 

-- 

 Leandro Pereira              (oO)           <leandro linuxmag com br>
                              /||\                  www.mindcrisis.tk

<glommer> cartão perfurado orientado a objetos, imagina ?
<UdontKnow> cartao eh objeto, ora




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