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: Fri, 30 Jun 2006 22:07:09 +0200
 
Thanks, that did the trick. The GtkFileChooser is much easier to use than the GtkFileSelection, I would 
suggest replacing the page:
http://www.gtk.org/tutorial/x1228.html
with the material 
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserDialog.html#gtkfilechooser-typical-usage
there doesnt seem to be any reason for people starting off with Gtk not to use the file chooser?
take care, Peter
On Fri, Jun 30, 2006 at 01:55:44PM +0530, Santhosh wrote:
        filew = gtk_file_selection_new ("Open File");
I didn't know that you are using GtkFileSelection Dialog... It is a
older widget... It is getting replaced by GtkFileChooserDialog (Since
Gtk+ 2.4)...
        gtk_file_chooser_set_action (GTK_FILE_SELECTION (filew),
You are missing a point here... Gtk_FILE_SELECTION doesn't implement
GtkFileChooser interface...
Please read the following document if you are interested to use
GtkFileChooserDialog... I am no more using GtkFileSelection and I
forgot about it...
http://developer.gnome.org/doc/API/2.0/gtk/gtk-migrating-GtkFileChooser.html
Regards,
Santhosh.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]