Re: File Selector Filter, directory only




        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.



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