<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>gtkmm 2.4: Gtk::ComboBoxEntry Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.1 --> <div class="nav"> <a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a></div> <h1>Gtk::ComboBoxEntry Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>]</small> </h1><!-- doxytag: class="Gtk::ComboBoxEntry" --><!-- doxytag: inherits="Gtk::ComboBox" -->Inheritance diagram for Gtk::ComboBoxEntry:<p><center><img src="classGtk_1_1ComboBoxEntry__inherit__graph.png" border="0" usemap="#Gtk_1_1ComboBoxEntry__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1ComboBoxEntry__inherit__map"> <area href="classGtk_1_1ComboBoxEntryText.html" shape="rect" coords="145,703,324,729" alt=""> <area href="classGtk_1_1ComboBox.html" shape="rect" coords="175,548,295,575" alt=""> <area href="classGtk_1_1Bin.html" shape="rect" coords="155,471,227,497" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="120,393,232,420" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="112,316,205,343" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,265" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="8,161,101,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="59,84,184,111" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="131,161,240,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="65,7,177,33" alt=""> <area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,265" alt=""> <area href="classGtk_1_1CellLayout.html" shape="rect" coords="229,316,347,343" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1ComboBoxEntry-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A text entry field with a dropdown list A <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> is a widget that allows the user to choose from a list of valid choices or enter a different value. <p> It is very similar to a <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a>, but it displays the selected value in an entry to allow modifying it.<p> In contrast to a <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a>, the underlying model of a <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> must always have a text column (see <a class="el" href="classGtk_1_1ComboBoxEntry.html#3e62a5252cc9cfcda3e486c635bec6b3">set_text_column()</a>), and the entry will show the content of the text column in the selected row.<p> See also <a class="el" href="classGtk_1_1ComboBoxEntryText.html">ComboBoxEntryText</a>, , which is specialised for a single text column.<p> To add and remove strings from the list, just modify the model using its data manipulation API. You can get the* <a class="el" href="classGtk_1_1Entry.html">Entry</a> by using <a class="el" href="classGtk_1_1Bin.html#538ec23119abba6c987b4363cac2f1dc">get_child()</a>.<p> The <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> widget looks like this: <div align="center"> <img src="comboboxentry1.png" alt="comboboxentry1.png"> </div> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#0132e13cb9ac60b377f6cb6850569136">ComboBoxEntry</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>>& model, int text_column=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> which has an <a class="el" href="classGtk_1_1Entry.html">Entry</a> as child and a list of strings as popup. <a href="#0132e13cb9ac60b377f6cb6850569136"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#9e9d0fcc3b0320ef7e18d1e9c6b8bf4d">ComboBoxEntry</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>>& model, const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>& text_column)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> which has an <a class="el" href="classGtk_1_1Entry.html">Entry</a> as child and a list of strings as popup. <a href="#9e9d0fcc3b0320ef7e18d1e9c6b8bf4d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#3584240ffbcecdffbdaabb27ab6eecd6">ComboBoxEntry</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#f62d18a0f8d214e2997fad9cbf30624b">get_entry</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1Bin.html#538ec23119abba6c987b4363cac2f1dc">Bin::get_child()</a>. </dd></dl> <a href="#f62d18a0f8d214e2997fad9cbf30624b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#8323c424114a5b3be5a31ce4346383dd">get_entry</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1Bin.html#538ec23119abba6c987b4363cac2f1dc">Bin::get_child()</a>. </dd></dl> <a href="#8323c424114a5b3be5a31ce4346383dd"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#19d583f81caf3456c8237359debc73cc">get_text_column</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: A column in the data source model of <em>entry_box</em>. <a href="#19d583f81caf3456c8237359debc73cc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkComboBoxEntry* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#042ad903bc13a4429a995e1057da061d">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#042ad903bc13a4429a995e1057da061d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GtkComboBoxEntry* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#56e85dfdf965ab78608f408f5cb1de64">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#56e85dfdf965ab78608f408f5cb1de64"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#84e6b02d215a9ea16b89d37a8a1b1ae8">set_text_column</a> (int text_column) const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the model column which <em>entry_box</em> should use to get strings from to be <em>text_column</em>. <a href="#84e6b02d215a9ea16b89d37a8a1b1ae8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#3e62a5252cc9cfcda3e486c635bec6b3">set_text_column</a> (const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>& text_column) const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the model column which <em>entry_box</em> should use to get strings from to be <em>text_column</em>. <a href="#3e62a5252cc9cfcda3e486c635bec6b3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#57afa8a837f45e3ba60878291b448a4b">~ComboBoxEntry</a> ()</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1ComboBoxEntry.html">Gtk::ComboBoxEntry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntry.html#5b826be2808a06492d5ae56fcdd35345">wrap</a> (GtkComboBoxEntry* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#5b826be2808a06492d5ae56fcdd35345"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="57afa8a837f45e3ba60878291b448a4b"></a><!-- doxytag: member="Gtk::ComboBoxEntry::~ComboBoxEntry" ref="57afa8a837f45e3ba60878291b448a4b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::ComboBoxEntry::~ComboBoxEntry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3584240ffbcecdffbdaabb27ab6eecd6"></a><!-- doxytag: member="Gtk::ComboBoxEntry::ComboBoxEntry" ref="3584240ffbcecdffbdaabb27ab6eecd6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ComboBoxEntry::ComboBoxEntry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9e9d0fcc3b0320ef7e18d1e9c6b8bf4d"></a><!-- doxytag: member="Gtk::ComboBoxEntry::ComboBoxEntry" ref="9e9d0fcc3b0320ef7e18d1e9c6b8bf4d" args="(const Glib::RefPtr< TreeModel > &model, const TreeModelColumnBase &text_column)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ComboBoxEntry::ComboBoxEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>>& </td> <td class="paramname"> <em>model</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>& </td> <td class="paramname"> <em>text_column</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Creates a new <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> which has an <a class="el" href="classGtk_1_1Entry.html">Entry</a> as child and a list of strings as popup. <p> You can get the <a class="el" href="classGtk_1_1Entry.html">Entry</a> from a <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> using <a class="el" href="classGtk_1_1ComboBoxEntry.html#8323c424114a5b3be5a31ce4346383dd">get_entry()</a>. To add and remove strings from the list, just modify <em>model</em> using its data manipulation API.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>A <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>text_column</em> </td><td>A column in <em>model</em> to get the strings from. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="0132e13cb9ac60b377f6cb6850569136"></a><!-- doxytag: member="Gtk::ComboBoxEntry::ComboBoxEntry" ref="0132e13cb9ac60b377f6cb6850569136" args="(const Glib::RefPtr< TreeModel > &model, int text_column=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ComboBoxEntry::ComboBoxEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>>& </td> <td class="paramname"> <em>model</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>text_column</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Creates a new <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> which has an <a class="el" href="classGtk_1_1Entry.html">Entry</a> as child and a list of strings as popup. <p> You can get the <a class="el" href="classGtk_1_1Entry.html">Entry</a> from a <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> using <a class="el" href="classGtk_1_1ComboBoxEntry.html#8323c424114a5b3be5a31ce4346383dd">get_entry()</a>. To add and remove strings from the list, just modify <em>model</em> using its data manipulation API.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>A <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>text_column</em> </td><td>A column in <em>model</em> to get the strings from. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="f62d18a0f8d214e2997fad9cbf30624b"></a><!-- doxytag: member="Gtk::ComboBoxEntry::get_entry" ref="f62d18a0f8d214e2997fad9cbf30624b" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::ComboBoxEntry::get_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1Bin.html#538ec23119abba6c987b4363cac2f1dc">Bin::get_child()</a>. </dd></dl> <p> </div> </div><p> <a class="anchor" name="8323c424114a5b3be5a31ce4346383dd"></a><!-- doxytag: member="Gtk::ComboBoxEntry::get_entry" ref="8323c424114a5b3be5a31ce4346383dd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::ComboBoxEntry::get_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1Bin.html#538ec23119abba6c987b4363cac2f1dc">Bin::get_child()</a>. </dd></dl> <p> </div> </div><p> <a class="anchor" name="19d583f81caf3456c8237359debc73cc"></a><!-- doxytag: member="Gtk::ComboBoxEntry::get_text_column" ref="19d583f81caf3456c8237359debc73cc" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::ComboBoxEntry::get_text_column </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return value: A column in the data source model of <em>entry_box</em>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A column in the data source model of <em>entry_box</em>.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000088">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="042ad903bc13a4429a995e1057da061d"></a><!-- doxytag: member="Gtk::ComboBoxEntry::gobj" ref="042ad903bc13a4429a995e1057da061d" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkComboBoxEntry* Gtk::ComboBoxEntry::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1ComboBox.html#4a4a3a27f8c511fc1085d8283c3642e5">Gtk::ComboBox</a>. </div> </div><p> <a class="anchor" name="56e85dfdf965ab78608f408f5cb1de64"></a><!-- doxytag: member="Gtk::ComboBoxEntry::gobj" ref="56e85dfdf965ab78608f408f5cb1de64" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkComboBoxEntry* Gtk::ComboBoxEntry::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1ComboBox.html#187397e3b51ed9bec9a156c608288b59">Gtk::ComboBox</a>. </div> </div><p> <a class="anchor" name="84e6b02d215a9ea16b89d37a8a1b1ae8"></a><!-- doxytag: member="Gtk::ComboBoxEntry::set_text_column" ref="84e6b02d215a9ea16b89d37a8a1b1ae8" args="(int text_column) const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBoxEntry::set_text_column </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>text_column</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Sets the model column which <em>entry_box</em> should use to get strings from to be <em>text_column</em>. <p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000087">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>text_column</em> </td><td>A column in <em>model</em> to get the strings from. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="3e62a5252cc9cfcda3e486c635bec6b3"></a><!-- doxytag: member="Gtk::ComboBoxEntry::set_text_column" ref="3e62a5252cc9cfcda3e486c635bec6b3" args="(const TreeModelColumnBase &text_column) const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBoxEntry::set_text_column </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>& </td> <td class="paramname"> <em>text_column</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Sets the model column which <em>entry_box</em> should use to get strings from to be <em>text_column</em>. <p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000086">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>text_column</em> </td><td>A column in <em>model</em> to get the strings from. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="5b826be2808a06492d5ae56fcdd35345"></a><!-- doxytag: member="Gtk::ComboBoxEntry::wrap" ref="5b826be2808a06492d5ae56fcdd35345" args="(GtkComboBoxEntry *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1ComboBoxEntry.html">Gtk::ComboBoxEntry</a>* wrap </td> <td>(</td> <td class="paramtype">GtkComboBoxEntry * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="comboboxentry_8h.html">comboboxentry.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.1 © 1997-2001</small></address> </body> </html>