Re: Problem sending data to gtk_button on "clicked" event



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]