Re: [gtk-list] callback problems
- From: Jan Kratochvil <short ucw cz>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] callback problems
- Date: Tue, 23 Feb 1999 13:54:39 +0100
> Hi.
> I'm having problems with callbacks on click events on buttons.
>
> I've got a button having a callback connected with:
> gtk_signal_connect_object(GTK_OBJECT(fui->go_button), "clicked",
> GTK_SIGNAL_FUNC(go_func),
> (gpointer)fui);
>
> Where the callback function is defined as:
> void go_func(GtkWidget *widget, gpointer data) {
>
> /* do some stuff */
>
> }
> Any help/ideas?
Use gtk_signal_connect() instead of gtk_signal_connect_object().
Lace
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]