<!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::ListViewText 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.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1ListViewText.html">ListViewText</a> </div> </div> <div class="contents"> <h1>Gtk::ListViewText Class Reference<br/> <small> [<a class="el" href="group__Widgets.html">Widgets</a>, <a class="el" href="group__Containers.html">Container Widgets</a>, <a class="el" href="group__TreeView.html">TreeView Classes</a>]</small> </h1><!-- doxytag: class="Gtk::ListViewText" --><!-- doxytag: inherits="Gtk::TreeView" --> <p>A simple listbox which presents some lines of information in columns and lets the user select some of them. <a href="#_details">More...</a></p> <p>Inherits <a class="el" href="classGtk_1_1TreeView.html">Gtk::TreeView</a>.</p> <div class="dynheader"> Collaboration diagram for Gtk::ListViewText:</div> <div class="dynsection"> <div class="center"><img src="classGtk_1_1ListViewText__coll__graph.png" border="0" usemap="#Gtk_1_1ListViewText_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1ListViewText_coll__map" id="Gtk_1_1ListViewText_coll__map"> <area shape="rect" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user..." alt="" coords="1700,109,1804,139"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="1299,73,1403,103"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="944,59,1035,88"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such..." alt="" coords="648,5,736,35"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="396,5,487,35"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="163,31,283,60"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="389,59,493,88"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="5,31,112,60"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="632,59,752,88"/><area shape="rect" href="classGtk_1_1ListViewText_1_1TextModelColumns.html" title="Gtk::ListViewText::TextModelColumns" alt="" coords="1631,180,1873,209"/><area shape="rect" href="classGtk_1_1TreeModelColumnRecord.html" title="Typedefed as TreeModel::ColumnRecord." alt="" coords="1249,140,1452,169"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html" title="std::vector\< GType \>" alt="" coords="917,140,1061,169"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html" title="std::vector\< _Tp, _Alloc \>" alt="" coords="605,163,779,192"/><area shape="rect" href="classGtk_1_1TreeModelColumn.html" title="Gtk::TreeModelColumn\< Glib::ustring \>" alt="" coords="1227,193,1475,223"/><area shape="rect" href="classGtk_1_1TreeModelColumnBase.html" title="Base class of TreeModelColumn templates." alt="" coords="600,225,784,255"/><area shape="rect" href="classGtk_1_1TreeModelColumn.html" title="A Gtk::TreeModelColumn describes the C++ type of the data in a model column, and..." alt="" coords="896,245,1083,275"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< Gtk::ListStore \>" alt="" coords="1655,240,1849,269"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< T_CppObject \>" alt="" coords="1256,247,1445,276"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1ListViewText-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText_1_1TextModelColumns.html">TextModelColumns</a></td></tr> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">std::vector</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a1f97eb1ecf054d665dd557314853bd99">SelectionList</a></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#aba3445363e7fd986e8344b5adcc37d1e">ListViewText</a> (guint columns_count, bool editable=false, <a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">Gtk::SelectionMode</a> mode=Gtk::SELECTION_SINGLE)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a6fe8de7b4c637aa0d130a6131d973382">~ListViewText</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a7e773a6335b0bf999dedfe2df55667f1">set_column_title</a> (guint column, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& title)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a title to column <em>column</em>. <a href="#a7e773a6335b0bf999dedfe2df55667f1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#ac2612f60c19125b61c4c0f76da8258ad">get_column_title</a> (guint column) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the title of column <em>column</em>. <a href="#ac2612f60c19125b61c4c0f76da8258ad"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a3cdeed88eaff196851646f35ecbc3bf4">append_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& column_one_value=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add a new row at the end of the list. <a href="#a3cdeed88eaff196851646f35ecbc3bf4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#aaf4222fd257888b89914660c11740ea1">prepend_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& column_one_value=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert a new row at the beginning of the list. <a href="#aaf4222fd257888b89914660c11740ea1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a9c7aa9e85ddceb4c6c3a2a1a6530e6ef">insert_text</a> (guint row, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& column_one_value=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert a new row at an arbitrary position in the list. <a href="#a9c7aa9e85ddceb4c6c3a2a1a6530e6ef"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#ad9e617ccce390aa6933a055def3139a9">clear_items</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Discard all row:. <a href="#ad9e617ccce390aa6933a055def3139a9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a4462ff598156aa5064b3f810b75f01bb">get_text</a> (guint row, guint column=0) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the value of an existing cell from the list. <a href="#a4462ff598156aa5064b3f810b75f01bb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a2d4b861b95e2ab0ae103b9970b1ca9bd">set_text</a> (guint row, guint column, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Change an existing value of cell of the list. <a href="#a2d4b861b95e2ab0ae103b9970b1ca9bd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a06c8b4f7c6144b1a50c22908f773b896">set_text</a> (guint row, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Change an existing value of a column 0 of a row of the list. <a href="#a06c8b4f7c6144b1a50c22908f773b896"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a97aac028c9a130b1c08d7a07dce09f08">size</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#aaf1a2f95f4909c4157fd774027c5f052">get_num_columns</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">SelectionList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a2a3d953ef7751801cbe406b19f3308ff">get_selected</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a vector of the indexes of the selected rows. <a href="#a2a3d953ef7751801cbe406b19f3308ff"></a><br/></td></tr> <tr><td colspan="2"><h2>Protected Attributes</h2></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>< <a class="el" href="classGtk_1_1ListStore.html">Gtk::ListStore</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a43b177deaa12148493b06918ab061699">m_model</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1ListViewText_1_1TextModelColumns.html">TextModelColumns</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a111c03fad9d8cb07d7b915c01eb64c8e">m_model_columns</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A simple listbox which presents some lines of information in columns and lets the user select some of them. </p> <p>This is a convenience class, based on <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a>, which allows only text values and does not allow child items. In most cases you will actually need the functionality offered by a real <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a> with your own type-safe <a class="el" href="classGtk_1_1TreeModel.html#a58f10daabaa507b4c2473c9d1b6fa584">Gtk::TreeModel::ColumnRecord</a>.</p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000391">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="a1f97eb1ecf054d665dd557314853bd99"></a><!-- doxytag: member="Gtk::ListViewText::SelectionList" ref="a1f97eb1ecf054d665dd557314853bd99" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">std::vector</a><int> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">Gtk::ListViewText::SelectionList</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="aba3445363e7fd986e8344b5adcc37d1e"></a><!-- doxytag: member="Gtk::ListViewText::ListViewText" ref="aba3445363e7fd986e8344b5adcc37d1e" args="(guint columns_count, bool editable=false, Gtk::SelectionMode mode=Gtk::SELECTION_SINGLE)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ListViewText::ListViewText </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>columns_count</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>editable</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">Gtk::SelectionMode</a> </td> <td class="paramname"> <em>mode</em> = <code>Gtk::SELECTION_SINGLE</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a6fe8de7b4c637aa0d130a6131d973382"></a><!-- doxytag: member="Gtk::ListViewText::~ListViewText" ref="a6fe8de7b4c637aa0d130a6131d973382" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::ListViewText::~ListViewText </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a3cdeed88eaff196851646f35ecbc3bf4"></a><!-- doxytag: member="Gtk::ListViewText::append_text" ref="a3cdeed88eaff196851646f35ecbc3bf4" args="(const Glib::ustring &column_one_value=Glib::ustring())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::ListViewText::append_text </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>column_one_value</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Add a new row at the end of the list. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>column_one_value</em> </td><td>the new text for the new row, column 0 </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the number of the row added </dd></dl> </div> </div> <a class="anchor" id="ad9e617ccce390aa6933a055def3139a9"></a><!-- doxytag: member="Gtk::ListViewText::clear_items" ref="ad9e617ccce390aa6933a055def3139a9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ListViewText::clear_items </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Discard all row:. </p> </div> </div> <a class="anchor" id="ac2612f60c19125b61c4c0f76da8258ad"></a><!-- doxytag: member="Gtk::ListViewText::get_column_title" ref="ac2612f60c19125b61c4c0f76da8258ad" args="(guint column) 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_1ustring.html">Glib::ustring</a> Gtk::ListViewText::get_column_title </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>column</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the title of column <em>column</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the column number. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the title of column <em>column</em>. </dd></dl> </div> </div> <a class="anchor" id="aaf1a2f95f4909c4157fd774027c5f052"></a><!-- doxytag: member="Gtk::ListViewText::get_num_columns" ref="aaf1a2f95f4909c4157fd774027c5f052" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::ListViewText::get_num_columns </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the number of columns in the listbox </dd></dl> </div> </div> <a class="anchor" id="a2a3d953ef7751801cbe406b19f3308ff"></a><!-- doxytag: member="Gtk::ListViewText::get_selected" ref="a2a3d953ef7751801cbe406b19f3308ff" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">SelectionList</a> Gtk::ListViewText::get_selected </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a vector of the indexes of the selected rows. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a SelectionList with the selection results </dd></dl> </div> </div> <a class="anchor" id="a4462ff598156aa5064b3f810b75f01bb"></a><!-- doxytag: member="Gtk::ListViewText::get_text" ref="a4462ff598156aa5064b3f810b75f01bb" args="(guint row, guint column=0) 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_1ustring.html">Glib::ustring</a> Gtk::ListViewText::get_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>row</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"> <em>column</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Obtain the value of an existing cell from the list. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the number of the row in the listbox. </td></tr> <tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the number of the column in the row. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>the value of that cell, if it exists. </dd></dl> </div> </div> <a class="anchor" id="a9c7aa9e85ddceb4c6c3a2a1a6530e6ef"></a><!-- doxytag: member="Gtk::ListViewText::insert_text" ref="a9c7aa9e85ddceb4c6c3a2a1a6530e6ef" args="(guint row, const Glib::ustring &column_one_value=Glib::ustring())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ListViewText::insert_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>row</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>column_one_value</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Insert a new row at an arbitrary position in the list. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>The row number </td></tr> <tr><td valign="top"></td><td valign="top"><em>column_one_value</em> </td><td>the new text for the new row, column 0 </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aaf4222fd257888b89914660c11740ea1"></a><!-- doxytag: member="Gtk::ListViewText::prepend_text" ref="aaf4222fd257888b89914660c11740ea1" args="(const Glib::ustring &column_one_value=Glib::ustring())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ListViewText::prepend_text </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>column_one_value</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Insert a new row at the beginning of the list. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>column_one_value</em> </td><td>the new text for the new row, column 0 </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a7e773a6335b0bf999dedfe2df55667f1"></a><!-- doxytag: member="Gtk::ListViewText::set_column_title" ref="a7e773a6335b0bf999dedfe2df55667f1" args="(guint column, const Glib::ustring &title)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ListViewText::set_column_title </td> <td>(</td> <td class="paramtype">guint </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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>title</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a title to column <em>column</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the column number. </td></tr> <tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>the title for column <em>column</em>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a06c8b4f7c6144b1a50c22908f773b896"></a><!-- doxytag: member="Gtk::ListViewText::set_text" ref="a06c8b4f7c6144b1a50c22908f773b896" args="(guint row, const Glib::ustring &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ListViewText::set_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>row</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Change an existing value of a column 0 of a row of the list. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the number of the row in the list. </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>the new contents of column 0 of the row. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2d4b861b95e2ab0ae103b9970b1ca9bd"></a><!-- doxytag: member="Gtk::ListViewText::set_text" ref="a2d4b861b95e2ab0ae103b9970b1ca9bd" args="(guint row, guint column, const Glib::ustring &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ListViewText::set_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>row</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Change an existing value of cell of the list. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the number of the row in the list. </td></tr> <tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the number of the column in the row. </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>the new contents of that row and column. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a97aac028c9a130b1c08d7a07dce09f08"></a><!-- doxytag: member="Gtk::ListViewText::size" ref="a97aac028c9a130b1c08d7a07dce09f08" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::ListViewText::size </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the number of rows in the listbox </dd></dl> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a43b177deaa12148493b06918ab061699"></a><!-- doxytag: member="Gtk::ListViewText::m_model" ref="a43b177deaa12148493b06918ab061699" 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><<a class="el" href="classGtk_1_1ListStore.html">Gtk::ListStore</a>> <a class="el" href="classGtk_1_1ListViewText.html#a43b177deaa12148493b06918ab061699">Gtk::ListViewText::m_model</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a111c03fad9d8cb07d7b915c01eb64c8e"></a><!-- doxytag: member="Gtk::ListViewText::m_model_columns" ref="a111c03fad9d8cb07d7b915c01eb64c8e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1ListViewText_1_1TextModelColumns.html">TextModelColumns</a> <a class="el" href="classGtk_1_1ListViewText.html#a111c03fad9d8cb07d7b915c01eb64c8e">Gtk::ListViewText::m_model_columns</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gtkmm/listviewtext.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:11 2010 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>