>     button = gtk_button_new_with_label ("B1");
> 
>     /* When the button is clicked, we call the "callback" function
>      * with a pointer to "button 1" as its argument */
>     g_signal_connect (button, "clicked",
>                   G_CALLBACK (callback), (gpointer) "B1");

Should be "... G_CALLBACK (callback), button);"

> What I want to do is callback to execute another gtk file

What do you mean by "execute another gtk file"? You don't execute files. You
execute functions.

Cheers,
Debarshi
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to