can I pass user data to a button callback?
- From: Felix Kater <f kater2 gmx net>
- To: gtk-app-devel-list gnome org
- Subject: can I pass user data to a button callback?
- Date: Tue, 15 Feb 2005 00:34:12 +0100
Hi,
can I pass (a pointer to) user data to a button's callback? The compiler
wants me to create button callbacks like void (*)(void) -- but what I
need is void (*)(void*), at least for the "pressed" and "released"
signals
How could I do that?
Felix
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]