Re: GtkFileChooserButton - "signal change"



On Sat, 2005-06-18 at 10:30 +0200, Uzytkownik wrote:
I'd like to call some function, when user select new file in
GtkFileChooserDialog.
What should I do?
I didn't find any signal like clicked or change?

You can connect to the "response" signal:
g_signal_connect(G_OBJECT(file_chooser), "response",
G_CALLBACK(call_back), NULL);

Alternatively you can execute the file chooser dialog with:
gtk_dialog_run(GTK_DIALOG(file_chooser));
and just read the return value

-- 
Daniel Pekelharing




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