Re: File Selector Filter, directory only
- From: Peter Robinson t-online de (Peter Robinson)
- To: gtk-app-devel-list gnome org
- Subject: Re: File Selector Filter, directory only
- Date: Thu, 29 Jun 2006 19:55:57 +0200
On Thu, Jun 29, 2006 at 10:16:06AM +0530, Santhosh wrote:
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html#gtk-file-chooser-set-action
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html#GtkFileChooserAction
The above URLs would be helpful...
Regards,
Santhosh.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Thanks. My code was using
filew = gtk_file_selection_new ("Open File");
which works fine for regular files. There appears to be a difference between
file selection and file_chooser widgets that escapes me. In any case, I get the following warning from the
line:
gtk_file_chooser_set_action (GTK_FILE_SELECTION (filew),
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER |
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER);
=>
(bspc:5768): Gtk-CRITICAL **: gtk_file_chooser_set_action: assertion `GTK_IS_FILE_CHOOSER (chooser)' failed
Why then are there two widgets that do (almost) the same thing? Or what am I missing here?
Thanks
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]