On Thu, 13 May 2004 12:43:00 +0200, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>  said:
> A little question...
> When a signal is catched by gtk_main, a function is called... Can I pass more
> than one parameter to the function?? Usually, the function called has got two
> parameter: an object and an user data!!! 

Make the one parameter be a pointer to something like this:

struct my_stuff {
        struct foo *param1;
        struct bar *param2;
        struct baz *param3;
}

and then feed a 'struct my_stuff *quux;' to the signal handler.

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to