On Thu, 13 May 2004 12:43:00 +0200, "diego81net inwind it" <diego81net inwind it> 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:
pgpR1OmA08LLq.pgp
Description: PGP signature