Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > fe6e02720319b05688a94261a5d8b124 > files > 930

gtkmm2.4-doc-2.24.4-2.mga4.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"/>
<title>gtkmm: Gtk::TreeModelFilter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<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">2.24.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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_1TreeModelFilter.html">TreeModelFilter</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<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> </div>
  <div class="headertitle">
<h1>Gtk::TreeModelFilter Class Reference<div class="ingroups"><a class="el" href="group__TreeView.html">TreeView Classes</a></div></h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gtk::TreeModelFilter" --><!-- doxytag: inherits="Glib::Object,Gtk::TreeModel" --><div class="dynheader">
Inheritance diagram for Gtk::TreeModelFilter:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1TreeModelFilter__inherit__graph.png" border="0" usemap="#Gtk_1_1TreeModelFilter_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1TreeModelFilter_inherit__map" id="Gtk_1_1TreeModelFilter_inherit__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,237,99,267"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="44,83,169,112"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="116,160,225,189"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="49,5,164,35"/><area shape="rect" id="node8" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget." alt="" coords="123,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gtk::TreeModelFilter:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1TreeModelFilter__coll__graph.png" border="0" usemap="#Gtk_1_1TreeModelFilter_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1TreeModelFilter_coll__map" id="Gtk_1_1TreeModelFilter_coll__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,237,99,267"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="44,83,169,112"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="116,160,225,189"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="49,5,164,35"/><area shape="rect" id="node8" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget." alt="" coords="123,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1TreeModelFilter-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; bool, <br class="typebreak"/>
const <br class="typebreak"/>
<a class="el" href="classGtk_1_1TreeIter.html">TreeModel::const_iterator</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#ae703c124ed55cc476bda9714455bd76f">SlotVisible</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, bool on_visible(const TreeModel::const_iterator&amp; iter); This should return true if the given row should be visible and false otherwise. <a href="#ae703c124ed55cc476bda9714455bd76f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeModel::iterator</a> <br class="typebreak"/>
&amp;, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ValueBase.html">Glib::ValueBase</a>&amp;, int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a86ea3bc241259334a87207b01ad508b7">SlotModify</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, void on_modify(const Gtk::TreeModel::iterator&amp; iter, Glib::ValueBase&amp; value, int column);. <a href="#a86ea3bc241259334a87207b01ad508b7"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a98fe48ba89c4934263d954d908626039">~TreeModelFilter</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkTreeModelFilter*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a8b2569b6b90a043b8c78e01e97bd6d55">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a8b2569b6b90a043b8c78e01e97bd6d55"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkTreeModelFilter*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a534aa3244b78967356421b70e703320f">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a534aa3244b78967356421b70e703320f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkTreeModelFilter*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a55f6b786af57385b6e792934ef0077ec">gobj_copy</a> ()</td></tr>
<tr><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="#a55f6b786af57385b6e792934ef0077ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#ad4d4273a355ad702b86718e714356e47">set_visible_func</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotVisible</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the "visible" callback used when filtering the filter. <a href="#ad4d4273a355ad702b86718e714356e47"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a260411bc2461225c0ee80fa3d07e9727">set_modify_func</a> (const <a class="el" href="classGtk_1_1TreeModelColumnRecord.html">TreeModelColumnRecord</a>&amp; columns, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotModify</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify columns that will be provided by this model, and a callback that will provide data for these columns based on data in the columns of the child model. <a href="#a260411bc2461225c0ee80fa3d07e9727"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a78f4cc1a7d58261716ac51619316a45e">set_visible_column</a> (const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp; column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>column</em> of the child_model to be the column where <em>filter</em> should look for visibility information. <a href="#a78f4cc1a7d58261716ac51619316a45e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a4a9b8e778e54a0e384b883daf2268340">set_visible_column</a> (int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>column</em> of the child_model to be the column where <em>filter</em> should look for visibility information. <a href="#a4a9b8e778e54a0e384b883daf2268340"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a841f5c3d099a9ef542352dc3ad2248e8">get_model</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the child model of <em>filter</em>. <a href="#a841f5c3d099a9ef542352dc3ad2248e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a0902b8ed69b03efe25ad435e09101240">get_model</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the child model of <em>filter</em>. <a href="#a0902b8ed69b03efe25ad435e09101240"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a1dfd71e0b35937d70cf7615c982cb09d">convert_child_iter_to_iter</a> (const <a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&amp; child_iter) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an iterator that points to the sorted row that corresponds to the child row pointed at by child_iter. <a href="#a1dfd71e0b35937d70cf7615c982cb09d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#ac96c6c5d4cbe473b0cf507a9dc77a361">convert_iter_to_child_iter</a> (const <a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&amp; filter_iter) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an iterator that points to the child row that corresponds to the sorted row pointed at by sorted_iter. <a href="#ac96c6c5d4cbe473b0cf507a9dc77a361"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreePath.html">Path</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a0a63732c0a5c08c010489ae707790561">convert_child_path_to_path</a> (const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp; child_path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>child_path</em> to a path relative to <em>filter</em>. <a href="#a0a63732c0a5c08c010489ae707790561"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreePath.html">Path</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#ad0ebeafdbb46411bf176d909d9a645a7">convert_path_to_child_path</a> (const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp; filter_path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>filter_path</em> to a path on the child model of <em>filter</em>. <a href="#ad0ebeafdbb46411bf176d909d9a645a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreePath.html">Path</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#af5f71bebaca37e385f20b3c00b215fab">convert_child_path_to_path</a> (const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp; child_path) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>child_path</em> to a path relative to <em>filter</em>. <a href="#af5f71bebaca37e385f20b3c00b215fab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreePath.html">Path</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a256a0b479e096e9d1cf1e8a7b9961dfb">convert_path_to_child_path</a> (const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp; filter_path) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>filter_path</em> to a path on the child model of <em>filter</em>. <a href="#a256a0b479e096e9d1cf1e8a7b9961dfb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a00565675a42f714a76e9340894e29126">refilter</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Emits ::row_changed for each row in the child model, which causes the filter to re-evaluate whether a row is visible or not. <a href="#a00565675a42f714a76e9340894e29126"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a19c5a6d665017908ae5723d1d2dfa10d">clear_cache</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function should almost never be called. <a href="#a19c5a6d665017908ae5723d1d2dfa10d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a3574ae1412c9eace1c9279355149df3d">property_child_model</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The model for the filtermodel to filter. <a href="#a3574ae1412c9eace1c9279355149df3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#acc865dce55e4419ab881e1d995ec1e87">property_virtual_root</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtual root (relative to the child model) for this filtermodel. <a href="#acc865dce55e4419ab881e1d995ec1e87"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#ac4d7aded7af332e2865fcce8b56b2503">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp; child_model)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This creates a <a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a> with <em>child_model</em> as the child model. <a href="#ac4d7aded7af332e2865fcce8b56b2503"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a1cb4ac25f615fadc6282aea067c6572d">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp; child_model, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; virtual_root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This creates a <a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a> with <em>child_model</em> as the child model, and <em>root</em> as the virtual root. <a href="#a1cb4ac25f615fadc6282aea067c6572d"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a08ba79783d7c61fb112473eb915ce7dc">TreeModelFilter</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp; child_model)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a42b4477837155ba56bbb416f2cf3515e">TreeModelFilter</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp; child_model, const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp; virtual_root)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#a9164293aa3835aee9e645ac395676f2d">set_value_impl</a> (const <a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&amp; row, int column, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ValueBase.html">Glib::ValueBase</a>&amp;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01191.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Override and implement this in a derived <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a> class, so that Row::operator() and <a class="el" href="classGtk_1_1TreeRow.html#ae25785fc6de538f6dd632bb434a5f2ff" title="Sets the value of this column of this row.">Row::set_value()</a> work. <a href="#a9164293aa3835aee9e645ac395676f2d"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1TreeModelFilter.html">Gtk::TreeModelFilter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeModelFilter.html#ad7f5385f08664253c28d58655565e815">wrap</a> (GtkTreeModelFilter* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ad7f5385f08664253c28d58655565e815"></a><br/></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a86ea3bc241259334a87207b01ad508b7"></a><!-- doxytag: member="Gtk::TreeModelFilter::SlotModify" ref="a86ea3bc241259334a87207b01ad508b7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeModel::iterator</a>&amp; , <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ValueBase.html">Glib::ValueBase</a>&amp; , int &gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::TreeModelFilter::SlotModify</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance, void on_modify(const Gtk::TreeModel::iterator&amp; iter, Glib::ValueBase&amp; value, int column);. </p>
<p>where iter is an iterator to a row in the child model, value is an output parameter in which you must store the value to be used in the parent model's row, column is the column in the parent row whose row value you must provide in the value output paramater. </p>

</div>
</div>
<a class="anchor" id="ae703c124ed55cc476bda9714455bd76f"></a><!-- doxytag: member="Gtk::TreeModelFilter::SlotVisible" ref="ae703c124ed55cc476bda9714455bd76f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;bool, const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::const_iterator</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::TreeModelFilter::SlotVisible</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance, bool on_visible(const TreeModel::const_iterator&amp; iter); This should return true if the given row should be visible and false otherwise. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a98fe48ba89c4934263d954d908626039"></a><!-- doxytag: member="Gtk::TreeModelFilter::~TreeModelFilter" ref="a98fe48ba89c4934263d954d908626039" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::TreeModelFilter::~TreeModelFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a08ba79783d7c61fb112473eb915ce7dc"></a><!-- doxytag: member="Gtk::TreeModelFilter::TreeModelFilter" ref="a08ba79783d7c61fb112473eb915ce7dc" args="(const Glib::RefPtr&lt; TreeModel &gt; &amp;child_model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::TreeModelFilter::TreeModelFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>child_model</em></td><td>)</td>
          <td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a42b4477837155ba56bbb416f2cf3515e"></a><!-- doxytag: member="Gtk::TreeModelFilter::TreeModelFilter" ref="a42b4477837155ba56bbb416f2cf3515e" args="(const Glib::RefPtr&lt; TreeModel &gt; &amp;child_model, const TreeModel::Path &amp;virtual_root)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::TreeModelFilter::TreeModelFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>child_model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"><em>virtual_root</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a19c5a6d665017908ae5723d1d2dfa10d"></a><!-- doxytag: member="Gtk::TreeModelFilter::clear_cache" ref="a19c5a6d665017908ae5723d1d2dfa10d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeModelFilter::clear_cache </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function should almost never be called. </p>
<p>It clears the <em>filter</em> of any cached iterators that haven't been reffed with ref_node(). This might be useful if the child model being filtered is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000304">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a1dfd71e0b35937d70cf7615c982cb09d"></a><!-- doxytag: member="Gtk::TreeModelFilter::convert_child_iter_to_iter" ref="a1dfd71e0b35937d70cf7615c982cb09d" args="(const iterator &amp;child_iter) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">iterator</a> Gtk::TreeModelFilter::convert_child_iter_to_iter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&amp;&#160;</td>
          <td class="paramname"><em>child_iter</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets an iterator that points to the sorted row that corresponds to the child row pointed at by child_iter. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">child_iter</td><td>A valid iterator pointing to a row on the child model. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A valid iterator that points to the row in this sorted model. </dd></dl>

</div>
</div>
<a class="anchor" id="af5f71bebaca37e385f20b3c00b215fab"></a><!-- doxytag: member="Gtk::TreeModelFilter::convert_child_path_to_path" ref="af5f71bebaca37e385f20b3c00b215fab" args="(const Path &amp;child_path) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreePath.html">Path</a> Gtk::TreeModelFilter::convert_child_path_to_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp;&#160;</td>
          <td class="paramname"><em>child_path</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts <em>child_path</em> to a path relative to <em>filter</em>. </p>
<p>That is, <em>child_path</em> points to a path in the child model. The rerturned path will point to the same row in the filtered model. If <em>child_path</em> isn't a valid path on the child model or points to a row which is not visible in <em>filter</em>, then <code>0</code> is returned.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000301">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">child_path</td><td>A <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a> to convert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a0a63732c0a5c08c010489ae707790561"></a><!-- doxytag: member="Gtk::TreeModelFilter::convert_child_path_to_path" ref="a0a63732c0a5c08c010489ae707790561" args="(const Path &amp;child_path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreePath.html">Path</a> Gtk::TreeModelFilter::convert_child_path_to_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp;&#160;</td>
          <td class="paramname"><em>child_path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts <em>child_path</em> to a path relative to <em>filter</em>. </p>
<p>That is, <em>child_path</em> points to a path in the child model. The rerturned path will point to the same row in the filtered model. If <em>child_path</em> isn't a valid path on the child model or points to a row which is not visible in <em>filter</em>, then <code>0</code> is returned.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000299">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000117">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1TreeModelFilter.html#af5f71bebaca37e385f20b3c00b215fab" title="Converts child_path to a path relative to filter.">convert_child_path_to_path(const Path&amp; child_path) const</a> </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">child_path</td><td>A <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a> to convert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ac96c6c5d4cbe473b0cf507a9dc77a361"></a><!-- doxytag: member="Gtk::TreeModelFilter::convert_iter_to_child_iter" ref="ac96c6c5d4cbe473b0cf507a9dc77a361" args="(const iterator &amp;filter_iter) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">iterator</a> Gtk::TreeModelFilter::convert_iter_to_child_iter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&amp;&#160;</td>
          <td class="paramname"><em>filter_iter</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets an iterator that points to the child row that corresponds to the sorted row pointed at by sorted_iter. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filter_iter</td><td>A valid iterator pointing to a row on the sorted model. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A valid iterator that points to the row in the child model. </dd></dl>

</div>
</div>
<a class="anchor" id="a256a0b479e096e9d1cf1e8a7b9961dfb"></a><!-- doxytag: member="Gtk::TreeModelFilter::convert_path_to_child_path" ref="a256a0b479e096e9d1cf1e8a7b9961dfb" args="(const Path &amp;filter_path) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreePath.html">Path</a> Gtk::TreeModelFilter::convert_path_to_child_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp;&#160;</td>
          <td class="paramname"><em>filter_path</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts <em>filter_path</em> to a path on the child model of <em>filter</em>. </p>
<p>That is, <em>filter_path</em> points to a location in <em>filter</em>. The returned path will point to the same location in the model not being filtered. If <em>filter_path</em> does not point to a location in the child model, <code>0</code> is returned.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000302">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filter_path</td><td>A <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a> to convert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ad0ebeafdbb46411bf176d909d9a645a7"></a><!-- doxytag: member="Gtk::TreeModelFilter::convert_path_to_child_path" ref="ad0ebeafdbb46411bf176d909d9a645a7" args="(const Path &amp;filter_path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1TreePath.html">Path</a> Gtk::TreeModelFilter::convert_path_to_child_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">Path</a>&amp;&#160;</td>
          <td class="paramname"><em>filter_path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts <em>filter_path</em> to a path on the child model of <em>filter</em>. </p>
<p>That is, <em>filter_path</em> points to a location in <em>filter</em>. The returned path will point to the same location in the model not being filtered. If <em>filter_path</em> does not point to a location in the child model, <code>0</code> is returned.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000300">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000118">Deprecated:</a></b></dt><dd><a class="el" href="classGtk_1_1TreeModelFilter.html#a256a0b479e096e9d1cf1e8a7b9961dfb" title="Converts filter_path to a path on the child model of filter.">convert_path_to_child_path(const Path&amp; filter_path) const</a> </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filter_path</td><td>A <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a> to convert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">Gtk::TreePath</a>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a1cb4ac25f615fadc6282aea067c6572d"></a><!-- doxytag: member="Gtk::TreeModelFilter::create" ref="a1cb4ac25f615fadc6282aea067c6572d" args="(const Glib::RefPtr&lt; TreeModel &gt; &amp;child_model, const TreeModel::Path &amp;virtual_root)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a>&gt; Gtk::TreeModelFilter::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>child_model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&amp;&#160;</td>
          <td class="paramname"><em>virtual_root</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This creates a <a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a> with <em>child_model</em> as the child model, and <em>root</em> as the virtual root. </p>
<p>You can use <a class="el" href="classGtk_1_1TreeModelFilter.html#ad4d4273a355ad702b86718e714356e47" title="Sets the &quot;visible&quot; callback used when filtering the filter.">set_visible_func()</a>, <a class="el" href="classGtk_1_1TreeModelFilter.html#a78f4cc1a7d58261716ac51619316a45e" title="Sets column of the child_model to be the column where filter should look for visibility information...">set_visible_column()</a> and/or <a class="el" href="classGtk_1_1TreeModelFilter.html#a260411bc2461225c0ee80fa3d07e9727" title="Specify columns that will be provided by this model, and a callback that will provide data for these ...">set_modify_func()</a> to change the mapping of child model to parent model. </p>

</div>
</div>
<a class="anchor" id="ac4d7aded7af332e2865fcce8b56b2503"></a><!-- doxytag: member="Gtk::TreeModelFilter::create" ref="ac4d7aded7af332e2865fcce8b56b2503" args="(const Glib::RefPtr&lt; TreeModel &gt; &amp;child_model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a>&gt; Gtk::TreeModelFilter::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>child_model</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This creates a <a class="el" href="classGtk_1_1TreeModelFilter.html">TreeModelFilter</a> with <em>child_model</em> as the child model. </p>
<p>You can use <a class="el" href="classGtk_1_1TreeModelFilter.html#ad4d4273a355ad702b86718e714356e47" title="Sets the &quot;visible&quot; callback used when filtering the filter.">set_visible_func()</a>, <a class="el" href="classGtk_1_1TreeModelFilter.html#a78f4cc1a7d58261716ac51619316a45e" title="Sets column of the child_model to be the column where filter should look for visibility information...">set_visible_column()</a> and/or <a class="el" href="classGtk_1_1TreeModelFilter.html#a260411bc2461225c0ee80fa3d07e9727" title="Specify columns that will be provided by this model, and a callback that will provide data for these ...">set_modify_func()</a> to change the mapping of child model to parent model. </p>

</div>
</div>
<a class="anchor" id="a841f5c3d099a9ef542352dc3ad2248e8"></a><!-- doxytag: member="Gtk::TreeModelFilter::get_model" ref="a841f5c3d099a9ef542352dc3ad2248e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt; Gtk::TreeModelFilter::get_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the child model of <em>filter</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000297">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to a <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a0902b8ed69b03efe25ad435e09101240"></a><!-- doxytag: member="Gtk::TreeModelFilter::get_model" ref="a0902b8ed69b03efe25ad435e09101240" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt; Gtk::TreeModelFilter::get_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the child model of <em>filter</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000298">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to a <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a534aa3244b78967356421b70e703320f"></a><!-- doxytag: member="Gtk::TreeModelFilter::gobj" ref="a534aa3244b78967356421b70e703320f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkTreeModelFilter* Gtk::TreeModelFilter::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1TreeModel.html#ae6a7c63aca59b5904beef977753558c2">Gtk::TreeModel</a>.</p>

</div>
</div>
<a class="anchor" id="a8b2569b6b90a043b8c78e01e97bd6d55"></a><!-- doxytag: member="Gtk::TreeModelFilter::gobj" ref="a8b2569b6b90a043b8c78e01e97bd6d55" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkTreeModelFilter* Gtk::TreeModelFilter::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1TreeModel.html#a190c8fd4588b844696e36e5c12966b4b">Gtk::TreeModel</a>.</p>

</div>
</div>
<a class="anchor" id="a55f6b786af57385b6e792934ef0077ec"></a><!-- doxytag: member="Gtk::TreeModelFilter::gobj_copy" ref="a55f6b786af57385b6e792934ef0077ec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkTreeModelFilter* Gtk::TreeModelFilter::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="a3574ae1412c9eace1c9279355149df3d"></a><!-- doxytag: member="Gtk::TreeModelFilter::property_child_model" ref="a3574ae1412c9eace1c9279355149df3d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>&gt; &gt; Gtk::TreeModelFilter::property_child_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The model for the filtermodel to filter. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="acc865dce55e4419ab881e1d995ec1e87"></a><!-- doxytag: member="Gtk::TreeModelFilter::property_virtual_root" ref="acc865dce55e4419ab881e1d995ec1e87" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="classGtk_1_1TreePath.html">TreeModel::Path</a>&gt; Gtk::TreeModelFilter::property_virtual_root </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The virtual root (relative to the child model) for this filtermodel. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a00565675a42f714a76e9340894e29126"></a><!-- doxytag: member="Gtk::TreeModelFilter::refilter" ref="a00565675a42f714a76e9340894e29126" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeModelFilter::refilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emits ::row_changed for each row in the child model, which causes the filter to re-evaluate whether a row is visible or not. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000303">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a260411bc2461225c0ee80fa3d07e9727"></a><!-- doxytag: member="Gtk::TreeModelFilter::set_modify_func" ref="a260411bc2461225c0ee80fa3d07e9727" args="(const TreeModelColumnRecord &amp;columns, const SlotModify &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeModelFilter::set_modify_func </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumnRecord.html">TreeModelColumnRecord</a>&amp;&#160;</td>
          <td class="paramname"><em>columns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotModify</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">

<p>Specify columns that will be provided by this model, and a callback that will provide data for these columns based on data in the columns of the child model. </p>
<p>The modify function will get called for each data access.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">columns</td><td>Column types for this model (which will be exposed to the parent model/view). </td></tr>
    <tr><td class="paramname">slot</td><td>A callback which will be called for each data access. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9164293aa3835aee9e645ac395676f2d"></a><!-- doxytag: member="Gtk::TreeModelFilter::set_value_impl" ref="a9164293aa3835aee9e645ac395676f2d" args="(const iterator &amp;row, int column, const Glib::ValueBase &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::TreeModelFilter::set_value_impl </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">iterator</a>&amp;&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ValueBase.html">Glib::ValueBase</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Override and implement this in a derived <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a> class, so that Row::operator() and <a class="el" href="classGtk_1_1TreeRow.html#ae25785fc6de538f6dd632bb434a5f2ff" title="Sets the value of this column of this row.">Row::set_value()</a> work. </p>
<p>You can probably just implement this by calling set_value_vfunc(). Your implementation of <a class="el" href="classGtk_1_1TreeModelFilter.html#a9164293aa3835aee9e645ac395676f2d" title="Override and implement this in a derived TreeModel class, so that Row::operator() and Row::set_value(...">set_value_impl()</a> should also call <a class="el" href="classGtk_1_1TreeModel.html#a8f06ebb80f930bb780eab62aac748df2" title="Emits the &quot;row-changed&quot; signal on tree_model.">row_changed()</a> after changing the value. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1TreeModel.html#a26cf070eadb8e242bcf2b57f7e6d7d9e">Gtk::TreeModel</a>.</p>

</div>
</div>
<a class="anchor" id="a4a9b8e778e54a0e384b883daf2268340"></a><!-- doxytag: member="Gtk::TreeModelFilter::set_visible_column" ref="a4a9b8e778e54a0e384b883daf2268340" args="(int column)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeModelFilter::set_visible_column </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>column</em> of the child_model to be the column where <em>filter</em> should look for visibility information. </p>
<p><em>columns</em> should be a column of type TYPE_BOOLEAN, where <code>true</code> means that a row is visible, and <code>false</code> if not.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000296">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">column</td><td>A <code>int</code> which is the column containing the visible information. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a78f4cc1a7d58261716ac51619316a45e"></a><!-- doxytag: member="Gtk::TreeModelFilter::set_visible_column" ref="a78f4cc1a7d58261716ac51619316a45e" args="(const TreeModelColumnBase &amp;column)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeModelFilter::set_visible_column </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp;&#160;</td>
          <td class="paramname"><em>column</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>column</em> of the child_model to be the column where <em>filter</em> should look for visibility information. </p>
<p><em>columns</em> should be a column of type TYPE_BOOLEAN, where <code>true</code> means that a row is visible, and <code>false</code> if not.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000295">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">column</td><td>A <code>int</code> which is the column containing the visible information. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad4d4273a355ad702b86718e714356e47"></a><!-- doxytag: member="Gtk::TreeModelFilter::set_visible_func" ref="ad4d4273a355ad702b86718e714356e47" args="(const SlotVisible &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeModelFilter::set_visible_func </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotVisible</a> &amp;&#160;</td>
          <td class="paramname"><em>slot</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the "visible" callback used when filtering the filter. </p>
<p>The callback function should return true if the given row should be visible and false otherwise.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>A callback slot which determines whether the row should be visible. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ad7f5385f08664253c28d58655565e815"></a><!-- doxytag: member="Gtk::TreeModelFilter::wrap" ref="ad7f5385f08664253c28d58655565e815" args="(GtkTreeModelFilter *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeModelFilter.html">Gtk::TreeModelFilter</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkTreeModelFilter *&#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><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></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="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/treemodelfilter.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>