Help: Callback arguments
- From: Johan Levin <nivel zigzegv ml org>
- To: gtk-list redhat com
- Subject: Help: Callback arguments
- Date: Thu, 17 Dec 1998 20:16:04 +0100 (MET)
I'm a gtk newbie, and I'd need some help...
How do I know how many arguments a certain callback-function should take?
When attaching to window-"delete_event" I get three (widget, event, data).
When attaching to button-"clicked" I get two (widget, data).
When attaching to window-"destroy I get two (widget, data).
It seems the return types vary too. Sometimes I should return void other
times gint.
Is there some simple rule?
My code gets pretty unstable when I do this wrong...
/Johan Levin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]