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&#39;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 &lt;<a href="mailto:markku.vire@movial.fi">markku.vire@movial.fi</a>&gt; 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>
 &nbsp;gtk_file_chooser_set_filter<br>
<br>
In order to setup the filter matching image files, you can use<br>
<br>
 &nbsp;gtk_file_filter_add_pixbuf_formats<br>
<br>
Hope this helps,<br>
<br>
-Markku-<br>
<div class="Ih2E3d"><br>
<br>
Yuan Jiang wrote:<br>
&gt; anyone can tell me how to add file type filter to HildonFileChooserDialog.<br>
&gt;<br>
&gt; I just want to show image files in the file chooser dialog.<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; maemo-developers mailing list<br>
&gt; <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
&gt; <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>