Re: write to a file using g_print

2012-08-22 Thread Ardhan Madras
> How I can transfer the filename from open_file to activate_func? When the activate_func() will be invoked? is it a callback function or something?. I don't know why and how you implemented that, but you already retrieved filename in open_file(), if you supposed to call activate_func() here, you

Re: write to a file using g_print

2012-08-22 Thread Rudra Banerjee
Thanks! Its working excellent. Now, I have another small problem. I have opened a file from the menubar filechooser dialog as: static void open_file(GtkWidget *widget, gpointer data) { GtkWidget *dialog;//, *entry; dialog = gtk_file_chooser_dialog_new("Open File", GTK_WINDOW(wi