Can you give me an example?<br><pre class="programlisting">void gtk_file_chooser_set_filter(<a class="link" href="file:///usr/share/gtk-doc/html/gtk/GtkFileChooser.html" title="GtkFileChooser">GtkFileChooser</a> *chooser, <a class="link" href="file:///usr/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html#GtkFileFilter">GtkFileFilter</a> *filter);<br>
<br>The first param, what should I provide.<br>I try to use <font size="1"><span id="1epe" class="VrHWId">HildonFileChooserDialog<br>But it doesn't seem to work.<br><br>Thanks.<br></span></font></pre><br><br><div class="gmail_quote">
On Thu, Mar 6, 2008 at 4:42 PM, Markku Vire <<a href="mailto:markku.vire@movial.fi">markku.vire@movial.fi</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Use normal<br>
<br>
gtk_file_chooser_set_filter<br>
<br>
In order to setup the filter matching image files, you can use<br>
<br>
gtk_file_filter_add_pixbuf_formats<br>
<br>
Hope this helps,<br>
<br>
-Markku-<br>
<div class="Ih2E3d"><br>
<br>
Yuan Jiang wrote:<br>
> anyone can tell me how to add file type filter to HildonFileChooserDialog.<br>
><br>
> I just want to show image files in the file chooser dialog.<br>
><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> maemo-developers mailing list<br>
> <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
> <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>姜æº<br>Yuan Jiang<br><a href="http://blog.vetcafe.net">http://blog.vetcafe.net</a>