multi parameters in a callback
- From: "lomba" <lomba pressemicro net>
- To: <gtk-list gnome org>
- Subject: multi parameters in a callback
- Date: Wed, 20 Nov 2002 17:18:00 +0100
Hi !
I've again a question... I've read archives but I don't understand.
I've a function :
void write(char *, GtkWidget *);
I need to call this function on a click, so I use a signal :
gtk_signal_connect(...., GTK_SIGNAL_FUNC(write), ...);
I've understood that I can pass multi parameters with the last parameters,
but it needs a gpointer on data. What do I need to do ? A structure ?
If you can help me with code I will be glad !
Tx a lot !
--
lomba
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]