Mention subclassing, aliasing and supertypes.

2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkfilefilter.sgml: Mention subclassing, aliasing
	and supertypes.
This commit is contained in:
Matthias Clasen 2004-11-29 06:09:33 +00:00 committed by Matthias Clasen
parent 7346a00add
commit 63d6202083
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-11-29 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkfilefilter.sgml: Mention subclassing, aliasing
and supertypes.
2004-11-28 Matthias Clasen <mclasen@redhat.com> 2004-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/images/combo-box.png: New image * gtk/images/combo-box.png: New image

View File

@ -13,6 +13,14 @@ gtk_file_filter_add_mime_type()), or by a custom filter function
(with gtk_file_filter_add_custom()). (with gtk_file_filter_add_custom()).
</para> </para>
<para>
Filtering by mime types handles aliasing and subclassing of mime
types; e.g. a filter for text/plain also matches a file with mime
type application/rtf, since application/rtf is a subclass of
text/plain. Note that #GtkFileFilter allows wildcards for the
subtype of a mime type, so you can e.g. filter for image/*.
</para>
<para> <para>
Normally, filters are used by adding them to a #GtkFileChooser, Normally, filters are used by adding them to a #GtkFileChooser,
see gtk_file_chooser_add_filter(), but it is also possible see gtk_file_chooser_add_filter(), but it is also possible