Re: How to identify a particular checkbutton ?



>  gtk_signal_connect (GTK_OBJECT (checkbutton_ponto09_20), "toggled",
>                      GTK_SIGNAL_FUNC (on_checkbutton_ponto_toggled),
>                      &ponto_data);
>
>
>and the callback function :
>
>void
>on_checkbutton_ponto_toggled           (GtkToggleButton *togglebutton,
>                                        gpointer         user_data)
>{
>

thats the wrong prototype. it should be:

void
on_checkbutton_ponto_toggled           (GtkWidget *togglebutton,
                                        gpointer         user_data)


sorry i can't help with the actual problem.

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]