Re: File Chooser Dialog: display only files with chosen extensions



vijayasarathy setsindia net wrote:
Hi all,

Is it possible that we can let a GtkFileChooserDialog object [file chooser
dialog] to display only files of specific extensions, for example, display
only exe files in the navigated folder ?

Certainly. You have to create GtkFileFilter's. See these links:

http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#gtk-file-chooser-add-filter
http://library.gnome.org/devel/gtk/unstable/gtk-gtkfilefilter.html#GtkFileFilter

--
The only time a dog gets complimented is when he doesn't do anything.
                -- C. Schulz

Eduardo M KALINOWSKI
ekalin gmail com
http://move.to/hpkb




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