[maemo-developers] how to add filter to HildonFileChooserDialog
From: Yuan Jiang sleetdrop at gmail.comDate: Thu Mar 6 12:01:11 EET 2008
- Previous message: how to add filter to HildonFileChooserDialog
- Next message: how to add filter to HildonFileChooserDialog
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Can you give me an example? void gtk_file_chooser_set_filter(GtkFileChooser <file:///usr/share/gtk-doc/html/gtk/GtkFileChooser.html> *chooser, GtkFileFilter <file:///usr/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html#GtkFileFilter> *filter); The first param, what should I provide. I try to use HildonFileChooserDialog But it doesn't seem to work. Thanks. On Thu, Mar 6, 2008 at 4:42 PM, Markku Vire <markku.vire at movial.fi> wrote: > Hi, > > Use normal > > gtk_file_chooser_set_filter > > In order to setup the filter matching image files, you can use > > gtk_file_filter_add_pixbuf_formats > > Hope this helps, > > -Markku- > > > Yuan Jiang wrote: > > anyone can tell me how to add file type filter to > HildonFileChooserDialog. > > > > I just want to show image files in the file chooser dialog. > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > maemo-developers mailing list > > maemo-developers at maemo.org > > https://lists.maemo.org/mailman/listinfo/maemo-developers > > -- 姜源 Yuan Jiang http://blog.vetcafe.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080306/0f0457d5/attachment.htm
- Previous message: how to add filter to HildonFileChooserDialog
- Next message: how to add filter to HildonFileChooserDialog
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]