Re: [gtk-list] callback problems



> 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]