Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 36a4a1ce4320fd74059ccc32828cc5d4 > files > 303

gtkmm3.0-doc-3.14.0-2.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>gtkmm: Gtk::FileFilter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm
   &#160;<span id="projectnumber">3.14.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1FileFilter.html">FileFilter</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGtk_1_1FileFilter-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gtk::FileFilter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A filter for selecting a file subset.  
 <a href="classGtk_1_1FileFilter.html#details">More...</a></p>

<p><code>#include &lt;gtkmm/filefilter.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Gtk::FileFilter:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1FileFilter__inherit__graph.png" border="0" usemap="#Gtk_1_1FileFilter_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1FileFilter_inherit__map" id="Gtk_1_1FileFilter_inherit__map">
<area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,155,115,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,131,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter_1_1Info.html">Info</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4c3cb21b5cbdb93d6f9415bd59173436"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; bool, <br class="typebreak" />
const <a class="el" href="classGtk_1_1FileFilter_1_1Info.html">Info</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a4c3cb21b5cbdb93d6f9415bd59173436">SlotCustom</a></td></tr>
<tr class="memdesc:a4c3cb21b5cbdb93d6f9415bd59173436"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, bool on_custom(const Gtk::FileFilter::Info&amp; filter_info);.  <a href="#a4c3cb21b5cbdb93d6f9415bd59173436">More...</a><br /></td></tr>
<tr class="separator:a4c3cb21b5cbdb93d6f9415bd59173436"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a50eee8641cdbe65c4350d4ba4849743e"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a50eee8641cdbe65c4350d4ba4849743e">~FileFilter</a> ()</td></tr>
<tr class="separator:a50eee8641cdbe65c4350d4ba4849743e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66e9c0496e9160dac00dc4084b7546bc"><td class="memItemLeft" align="right" valign="top">GtkFileFilter*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a66e9c0496e9160dac00dc4084b7546bc">gobj</a> ()</td></tr>
<tr class="memdesc:a66e9c0496e9160dac00dc4084b7546bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a66e9c0496e9160dac00dc4084b7546bc">More...</a><br /></td></tr>
<tr class="separator:a66e9c0496e9160dac00dc4084b7546bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d46093351ec372a672a3be88646005a"><td class="memItemLeft" align="right" valign="top">const GtkFileFilter*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a7d46093351ec372a672a3be88646005a">gobj</a> () const </td></tr>
<tr class="memdesc:a7d46093351ec372a672a3be88646005a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a7d46093351ec372a672a3be88646005a">More...</a><br /></td></tr>
<tr class="separator:a7d46093351ec372a672a3be88646005a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb95797c616d629fe908a460be3489ea"><td class="memItemLeft" align="right" valign="top">GtkFileFilter*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#afb95797c616d629fe908a460be3489ea">gobj_copy</a> ()</td></tr>
<tr class="memdesc:afb95797c616d629fe908a460be3489ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="#afb95797c616d629fe908a460be3489ea">More...</a><br /></td></tr>
<tr class="separator:afb95797c616d629fe908a460be3489ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac192ae4b6a0d24ab00c2d2d434550813"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#ac192ae4b6a0d24ab00c2d2d434550813">set_name</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>
<tr class="memdesc:ac192ae4b6a0d24ab00c2d2d434550813"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the human-readable name of the filter; this is the string that will be displayed in the file selector user interface if there is a selectable list of filters.  <a href="#ac192ae4b6a0d24ab00c2d2d434550813">More...</a><br /></td></tr>
<tr class="separator:ac192ae4b6a0d24ab00c2d2d434550813"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2f9f2895ad22fe94a878f26c594658c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#af2f9f2895ad22fe94a878f26c594658c">get_name</a> () const </td></tr>
<tr class="memdesc:af2f9f2895ad22fe94a878f26c594658c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the human-readable name for the filter.  <a href="#af2f9f2895ad22fe94a878f26c594658c">More...</a><br /></td></tr>
<tr class="separator:af2f9f2895ad22fe94a878f26c594658c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0a289b2b4576672f4ce46de1a84f0be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#af0a289b2b4576672f4ce46de1a84f0be">add_mime_type</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; mime_type)</td></tr>
<tr class="memdesc:af0a289b2b4576672f4ce46de1a84f0be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a rule allowing a given mime type to <em>filter</em>.  <a href="#af0a289b2b4576672f4ce46de1a84f0be">More...</a><br /></td></tr>
<tr class="separator:af0a289b2b4576672f4ce46de1a84f0be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b49e4a03afffc2806d17abf33b26cad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a9b49e4a03afffc2806d17abf33b26cad">add_pattern</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; pattern)</td></tr>
<tr class="memdesc:a9b49e4a03afffc2806d17abf33b26cad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a rule allowing a shell style glob to a filter.  <a href="#a9b49e4a03afffc2806d17abf33b26cad">More...</a><br /></td></tr>
<tr class="separator:a9b49e4a03afffc2806d17abf33b26cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ed1bdf8a077b87b66efbc9fd308a367"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a7ed1bdf8a077b87b66efbc9fd308a367">add_pixbuf_formats</a> ()</td></tr>
<tr class="memdesc:a7ed1bdf8a077b87b66efbc9fd308a367"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a rule allowing image files in the formats supported by GdkPixbuf.  <a href="#a7ed1bdf8a077b87b66efbc9fd308a367">More...</a><br /></td></tr>
<tr class="separator:a7ed1bdf8a077b87b66efbc9fd308a367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae42878237330a437191f61df28094208"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#ae42878237330a437191f61df28094208">add_custom</a> (<a class="el" href="group__gtkmmEnums.html#gaf8205a61123bc5013c12d13335623959">FileFilterFlags</a> needed, const <a class="el" href="classGtk_1_1FileFilter.html#a4c3cb21b5cbdb93d6f9415bd59173436">SlotCustom</a>&amp; slot)</td></tr>
<tr class="separator:ae42878237330a437191f61df28094208"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c0d157fded98f2d5a40a637227d120"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gaf8205a61123bc5013c12d13335623959">FileFilterFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a82c0d157fded98f2d5a40a637227d120">get_needed</a> () const </td></tr>
<tr class="memdesc:a82c0d157fded98f2d5a40a637227d120"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the fields that need to be filled in for the Gtk::FileFilterInfo passed to filter()  <a href="#a82c0d157fded98f2d5a40a637227d120">More...</a><br /></td></tr>
<tr class="separator:a82c0d157fded98f2d5a40a637227d120"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a920cd5dfa240af7d474145c91d55178d"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a920cd5dfa240af7d474145c91d55178d">get_type</a> ()</td></tr>
<tr class="memdesc:a920cd5dfa240af7d474145c91d55178d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#a920cd5dfa240af7d474145c91d55178d">More...</a><br /></td></tr>
<tr class="separator:a920cd5dfa240af7d474145c91d55178d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae766003f93b060fa592ee2b11006454e"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1FileFilter.html">FileFilter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#ae766003f93b060fa592ee2b11006454e">create</a> ()</td></tr>
<tr class="separator:ae766003f93b060fa592ee2b11006454e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a542b0bc5fd456766db2b91c502a05603"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#a542b0bc5fd456766db2b91c502a05603">FileFilter</a> ()</td></tr>
<tr class="separator:a542b0bc5fd456766db2b91c502a05603"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:ab0df20f0adb893bddba5d1e6f58a496e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1FileFilter.html">Gtk::FileFilter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileFilter.html#ab0df20f0adb893bddba5d1e6f58a496e">wrap</a> (GtkFileFilter* object, bool take_copy=false)</td></tr>
<tr class="memdesc:ab0df20f0adb893bddba5d1e6f58a496e"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#ab0df20f0adb893bddba5d1e6f58a496e">More...</a><br /></td></tr>
<tr class="separator:ab0df20f0adb893bddba5d1e6f58a496e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A filter for selecting a file subset. </p>
<p>A <a class="el" href="classGtk_1_1FileFilter.html" title="A filter for selecting a file subset. ">Gtk::FileFilter</a> can be used to restrict the files being shown in a <a class="el" href="classGtk_1_1FileChooser.html" title="Gtk::FileChooser is an interface that can be implemented by file selection widgets. ">Gtk::FileChooser</a>. Files can be filtered based on their name (with <a class="el" href="classGtk_1_1FileFilter.html#a9b49e4a03afffc2806d17abf33b26cad" title="Adds a rule allowing a shell style glob to a filter. ">add_pattern()</a>), on their mime type (with <a class="el" href="classGtk_1_1FileFilter.html#af0a289b2b4576672f4ce46de1a84f0be" title="Adds a rule allowing a given mime type to filter. ">add_mime_type()</a>), or by a custom filter function (with <a class="el" href="classGtk_1_1FileFilter.html#ae42878237330a437191f61df28094208">add_custom()</a>).</p>
<p>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 <a class="el" href="classGtk_1_1FileFilter.html" title="A filter for selecting a file subset. ">Gtk::FileFilter</a> allows wildcards for the subtype of a mime type, so you can e.g. filter for image/*.</p>
<p>Normally, filters are used by adding them to a <a class="el" href="classGtk_1_1FileChooser.html" title="Gtk::FileChooser is an interface that can be implemented by file selection widgets. ">Gtk::FileChooser</a>. See <a class="el" href="classGtk_1_1FileChooser.html#a15cbd8b9a365f91e4a4e97d1fa31cb42" title="Adds filter to the list of filters that the user can select between. ">Gtk::FileChooser::add_filter()</a>. But it is also possible to manually use a filter on a file with filter(). </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a4c3cb21b5cbdb93d6f9415bd59173436"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;bool, const <a class="el" href="classGtk_1_1FileFilter_1_1Info.html">Info</a>&amp;&gt; <a class="el" href="classGtk_1_1FileFilter.html#a4c3cb21b5cbdb93d6f9415bd59173436">Gtk::FileFilter::SlotCustom</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For instance, bool on_custom(const Gtk::FileFilter::Info&amp; filter_info);. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a50eee8641cdbe65c4350d4ba4849743e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::FileFilter::~FileFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a542b0bc5fd456766db2b91c502a05603"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::FileFilter::FileFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae42878237330a437191f61df28094208"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileFilter::add_custom </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaf8205a61123bc5013c12d13335623959">FileFilterFlags</a>&#160;</td>
          <td class="paramname"><em>needed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1FileFilter.html#a4c3cb21b5cbdb93d6f9415bd59173436">SlotCustom</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af0a289b2b4576672f4ce46de1a84f0be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileFilter::add_mime_type </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>mime_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a rule allowing a given mime type to <em>filter</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000173">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mime_type</td><td>Name of a MIME type. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9b49e4a03afffc2806d17abf33b26cad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileFilter::add_pattern </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a rule allowing a shell style glob to a filter. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000174">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pattern</td><td>A shell style glob. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7ed1bdf8a077b87b66efbc9fd308a367"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileFilter::add_pixbuf_formats </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a rule allowing image files in the formats supported by GdkPixbuf. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000083">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ae766003f93b060fa592ee2b11006454e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1FileFilter.html">FileFilter</a>&gt; Gtk::FileFilter::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af2f9f2895ad22fe94a878f26c594658c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::FileFilter::get_name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the human-readable name for the filter. </p>
<p>See <a class="el" href="classGtk_1_1FileFilter.html#ac192ae4b6a0d24ab00c2d2d434550813" title="Sets the human-readable name of the filter; this is the string that will be displayed in the file sel...">set_name()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000172">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The human-readable name of the filter, or <code>0</code>. This value is owned by GTK+ and must not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a82c0d157fded98f2d5a40a637227d120"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#gaf8205a61123bc5013c12d13335623959">FileFilterFlags</a> Gtk::FileFilter::get_needed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the fields that need to be filled in for the Gtk::FileFilterInfo passed to filter() </p>
<p>This function will not typically be used by applications; it is intended principally for use in the implementation of <a class="el" href="classGtk_1_1FileChooser.html" title="Gtk::FileChooser is an interface that can be implemented by file selection widgets. ">Gtk::FileChooser</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000175">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Bitfield of flags indicating needed fields when calling filter(). </dd></dl>

</div>
</div>
<a class="anchor" id="a920cd5dfa240af7d474145c91d55178d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gtk::FileFilter::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="a66e9c0496e9160dac00dc4084b7546bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GtkFileFilter* Gtk::FileFilter::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a class="anchor" id="a7d46093351ec372a672a3be88646005a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GtkFileFilter* Gtk::FileFilter::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a class="anchor" id="afb95797c616d629fe908a460be3489ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkFileFilter* Gtk::FileFilter::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="ac192ae4b6a0d24ab00c2d2d434550813"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileFilter::set_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the human-readable name of the filter; this is the string that will be displayed in the file selector user interface if there is a selectable list of filters. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000171">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The human-readable-name for the filter, or <code>0</code> to remove any existing name. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="ab0df20f0adb893bddba5d1e6f58a496e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1FileFilter.html">Gtk::FileFilter</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkFileFilter *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 23 2014 12:59:20 for gtkmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>