Re: GtkFileChooserButton - "signal change"



Dnia 18-06-2005, sob o godzinie 12:05 +0200, Daniel Pekelharing
napisaÅ(a):
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.

GtkFileChooserButton

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


My error.

Regards.
-- 
Linux user: #376500 (patrz http://counter.li.org/)


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