Re: Problem sending data to gtk_button on "clicked" event
- From: Tristan Van Berkom <tvb gnome org>
- To: ebehar gsti3d com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Problem sending data to gtk_button on "clicked" event
- Date: Wed, 09 Nov 2005 13:10:34 -0500
Evan Behar wrote:
I've been getting seg-faults when I try to work with data in my button
"clicked" callback functions, so as a test, I compiled and ran the
following program:
Be carefull how you prototype your callbacks, for example;
the GtkButtonClass's closure for the "clicked" signal will
expect a function of type `void callback (GObject *, gpointer)'
I'm not sure what the expected signature is for the
"delete_event" though.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]