Re: File Chooser Dialog: display only files with chosen extensions
- From: Eduardo M KALINOWSKI <ekalin gmail com>
- To: vijayasarathy setsindia net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: File Chooser Dialog: display only files with chosen extensions
- Date: Sat, 12 Jan 2008 08:48:59 -0200
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]