<!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::ComboBox 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_1ComboBox.html">ComboBox</a></div> <h1>Gtk::ComboBox Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>]</small> </h1><!-- doxytag: class="Gtk::ComboBox" --><!-- doxytag: inherits="Gtk::Bin,Gtk::CellLayout" -->Inheritance diagram for Gtk::ComboBox:<p><center><img src="classGtk_1_1ComboBox__inherit__graph.png" border="0" usemap="#Gtk_1_1ComboBox__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1ComboBox__inherit__map"> <area href="classGtk_1_1ComboBoxEntry.html" shape="rect" coords="71,625,225,652" alt=""> <area href="classGtk_1_1ComboBoxText.html" shape="rect" coords="249,625,396,652" 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=""> <area href="classGtk_1_1ComboBoxEntryText.html" shape="rect" coords="59,703,237,729" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1ComboBox-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A widget used to choose from a list of items. <p> A <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a> is a widget that allows the user to choose from a list of valid choices. The <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a> displays the selected choice. When activated, the <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a> displays a popup which allows the user to make a new choice. The style in which the selected value is displayed, and the style of the popup is determined by the current theme. It may be similar to a <a class="el" href="classGtk_1_1OptionMenu.html">OptionMenu</a>, or similar to a Windows-style combo box.<p> The <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a> uses the model-view pattern; the list of valid choices is specified in the form of a tree model, and the display of the choices can be adapted to the data in the model by using cell renderers, as you would in a tree view. This is possible since <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a> implements the <a class="el" href="classGtk_1_1CellLayout.html">CellLayout</a> interface. The tree model holding the valid choices is not restricted to a flat list, it can be a real tree, and the popup will reflect the tree structure.<p> The <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a> widget looks like this: <div align="center"> <img src="combobox1.png" alt="combobox1.png"> </div> <p> See also <a class="el" href="classGtk_1_1ComboBoxText.html">ComboBoxText</a>, which is specialised for a single text column. <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classGtk_1_1TreeView.html#23b8b22dc7f071ce1eff27059116f696">TreeView::SlotRowSeparator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#4cc3364ac0886eab63223f3e3ca76d34">SlotRowSeparator</a></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_1ComboBox.html#89b1394989f56843cccbea4513531c0c">ComboBox</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)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ComboBox.html">ComboBox</a> with the model initialized to <em>model</em>. <a href="#89b1394989f56843cccbea4513531c0c"></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_1ComboBox.html#17ce124b920595a0a10fbfa6f9bda156">ComboBox</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#3aeb38f76a23f6fea58716e9310e2453">get_active</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator that points to the current active item, if it exists. <a href="#3aeb38f76a23f6fea58716e9310e2453"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#7580310c60bb21a632a57c09c749e6d2">get_active</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator that points to the current active item, if it exists. <a href="#7580310c60bb21a632a57c09c749e6d2"></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_1ComboBox.html#5c531be01729f9371a4858344434c7a9">get_active_row_number</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: An integer which is the index of the currently active item,. <a href="#5c531be01729f9371a4858344434c7a9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#a4aacde9b44b8cb1e82fc41f7fdfee50">get_add_tearoffs</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current value of the :add-tearoffs property. <a href="#a4aacde9b44b8cb1e82fc41f7fdfee50"></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_1ComboBox.html#32476b3be78b3c623598e0f8e1e6e886">get_column_span_column</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the column span column. <a href="#32476b3be78b3c623598e0f8e1e6e886"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#03a769bb64c00d06b3da6ed8107efe3d">get_focus_on_click</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: <code>true</code> if the combo box grabs focus when it is. <a href="#03a769bb64c00d06b3da6ed8107efe3d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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><const <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#959e76003161dd8d130dc955af5aaa5e">get_model</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: A <a class="el" href="classGtk_1_1TreeModel.html">Gtk::TreeModel</a> which was passed during construction. <a href="#959e76003161dd8d130dc955af5aaa5e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#d96804e98737c72feb05f8b1968a7941">get_model</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: A <a class="el" href="classGtk_1_1TreeModel.html">Gtk::TreeModel</a> which was passed during construction. <a href="#d96804e98737c72feb05f8b1968a7941"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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><const <a class="el" href="classAtk_1_1Object.html">Atk::Object</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#eed24a79b06e27fe62fc4020f75be63e">get_popup_accessible</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the accessible object corresponding to the combo box's popup. <a href="#eed24a79b06e27fe62fc4020f75be63e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="classAtk_1_1Object.html">Atk::Object</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#4f07d46393298392e1bad4fba1feffc6">get_popup_accessible</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the accessible object corresponding to the combo box's popup. <a href="#4f07d46393298392e1bad4fba1feffc6"></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_1ComboBox.html#21065e02f2ce850522de40656bd87f05">get_row_span_column</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the row span column. <a href="#21065e02f2ce850522de40656bd87f05"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#888670176691708b7acd70b5d1376637">get_title</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current title of the menu in tearoff mode. <a href="#888670176691708b7acd70b5d1376637"></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_1ComboBox.html#5f91a1a4882ed62399f0e68effe80fb6">get_wrap_width</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the wrap width. <a href="#5f91a1a4882ed62399f0e68effe80fb6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkComboBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#4a4a3a27f8c511fc1085d8283c3642e5">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#4a4a3a27f8c511fc1085d8283c3642e5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GtkComboBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#187397e3b51ed9bec9a156c608288b59">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#187397e3b51ed9bec9a156c608288b59"></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_1ComboBox.html#51606c9fc18bf392baa98bf1f762923e">popdown</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Hides the menu or dropdown list of <em>combo_box</em>. <a href="#51606c9fc18bf392baa98bf1f762923e"></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_1ComboBox.html#3bb98e5a20c570f1de50153a848e1542">popup</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Pops up the menu or dropdown list of <em>combo_box</em>. <a href="#3bb98e5a20c570f1de50153a848e1542"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#42612b79eeb5c335279dae2b3544abd9">property_active</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The item which is currently active. <a href="#42612b79eeb5c335279dae2b3544abd9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#a21ad52c02c4450df823b0f2518bcba6">property_active</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The item which is currently active. <a href="#a21ad52c02c4450df823b0f2518bcba6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#3925cd4de1f6b85752876cee7053167a">property_add_tearoffs</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether dropdowns should have a tearoff menu item. <a href="#3925cd4de1f6b85752876cee7053167a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#cc3491013233f0180d29595656267700">property_add_tearoffs</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether dropdowns should have a tearoff menu item. <a href="#cc3491013233f0180d29595656267700"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#fb27f35fd62fd9ef17f49daf79ea7367">property_column_span_column</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the column span values. <a href="#fb27f35fd62fd9ef17f49daf79ea7367"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#a47bd6a5b3fc379852826e40713f1baf">property_column_span_column</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the column span values. <a href="#a47bd6a5b3fc379852826e40713f1baf"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#35ac5785e5aec9cadc8205c0cc80ea70">property_focus_on_click</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the combo box grabs focus when it is clicked with the mouse. <a href="#35ac5785e5aec9cadc8205c0cc80ea70"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#7b31650e62742fc7718c4b1c68c54e92">property_focus_on_click</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the combo box grabs focus when it is clicked with the mouse. <a href="#7b31650e62742fc7718c4b1c68c54e92"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#f8099a2a0d9d39d60517fcbff3471aa4">property_has_frame</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the combo box draws a frame around the child. <a href="#f8099a2a0d9d39d60517fcbff3471aa4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#aee20c9c41ace2b3dba1529deee2cab9">property_has_frame</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the combo box draws a frame around the child. <a href="#aee20c9c41ace2b3dba1529deee2cab9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <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="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#cd9402b2fe592895984b91a2d489b7b7">property_model</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The model for the combo box. <a href="#cd9402b2fe592895984b91a2d489b7b7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <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><<br> <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#c53c1e2300af85a094910d839db61023">property_model</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The model for the combo box. <a href="#c53c1e2300af85a094910d839db61023"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#f52ec5f81d7ab4e5ed8e5355e9f5ed3e">property_row_span_column</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the row span values. <a href="#f52ec5f81d7ab4e5ed8e5355e9f5ed3e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#e2c5f1d7e52a343c00b53d75ca46a1a3">property_row_span_column</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the row span values. <a href="#e2c5f1d7e52a343c00b53d75ca46a1a3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#1a99d06d757455952c2b6c6bbf1b292c">property_tearoff_title</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A title that may be displayed by the window manager when the popup is torn-off. <a href="#1a99d06d757455952c2b6c6bbf1b292c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#ed300d23be7a39035aca5cac8bae5a82">property_tearoff_title</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A title that may be displayed by the window manager when the popup is torn-off. <a href="#ed300d23be7a39035aca5cac8bae5a82"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#82749d1db53d25d5b7f9a50881e26b1a">property_wrap_width</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Wrap width for laying out the items in a grid. <a href="#82749d1db53d25d5b7f9a50881e26b1a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#b500e4f95b19e0ef6c6efcd651717697">property_wrap_width</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Wrap width for laying out the items in a grid. <a href="#b500e4f95b19e0ef6c6efcd651717697"></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_1ComboBox.html#699cc8d026e92175f54ddfe1812e83cd">set_active</a> (const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>& iter)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current active item to be the one referenced by <em>iter</em>. <a href="#699cc8d026e92175f54ddfe1812e83cd"></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_1ComboBox.html#4f23cf08e85733d23f120935b235096d">set_active</a> (int index)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the active item of <em>combo_box</em> to be the item at <em>index</em>. <a href="#4f23cf08e85733d23f120935b235096d"></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_1ComboBox.html#4bdf2f8d099eab514412367acabdcfcf">set_add_tearoffs</a> (bool add_tearoffs=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the popup menu should have a tearoff menu item. <a href="#4bdf2f8d099eab514412367acabdcfcf"></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_1ComboBox.html#321c575d9d75d527168b06d6f8bd5122">set_column_span_column</a> (int column_span)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the column with column span information for <em>combo_box</em> to be <em>column_span</em>. <a href="#321c575d9d75d527168b06d6f8bd5122"></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_1ComboBox.html#90788d9b010ba365599826829ef04670">set_focus_on_click</a> (bool focus_on_click=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the combo box will grab focus when it is clicked with the mouse. <a href="#90788d9b010ba365599826829ef04670"></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_1ComboBox.html#b0b1ad19e9ffb50b04eb04431aaa3fd2">set_model</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)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the model used by <em>combo_box</em> to be <em>model</em>. <a href="#b0b1ad19e9ffb50b04eb04431aaa3fd2"></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_1ComboBox.html#2c65e7509bb7b8f9a197a517cb5cbed4">set_row_separator_func</a> (const <a class="el" href="classGtk_1_1ComboBox.html#4cc3364ac0886eab63223f3e3ca76d34">SlotRowSeparator</a>& slot)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the row separator function, which is used to determine whether a row should be drawn as a separator. <a href="#2c65e7509bb7b8f9a197a517cb5cbed4"></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_1ComboBox.html#7bc7717c3ad6a7ee9e7de907691e39f5">set_row_span_column</a> (int row_span)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the column with row span information for <em>combo_box</em> to be <em>row_span</em>. <a href="#7bc7717c3ad6a7ee9e7de907691e39f5"></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_1ComboBox.html#be6b2a8d20f7a7a5f512df744ac2c48a">set_title</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& title)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the menu's title in tearoff mode. <a href="#be6b2a8d20f7a7a5f512df744ac2c48a"></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_1ComboBox.html#320ba39253e225c63979b2d41342068c">set_wrap_width</a> (int width)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the wrap width of <em>combo_box</em> to be <em>width</em>. <a href="#320ba39253e225c63979b2d41342068c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#d499b1a7834dae64f9b30f7b036c3321">signal_changed</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The changed signal gets emitted when the active item is changed. <a href="#d499b1a7834dae64f9b30f7b036c3321"></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_1ComboBox.html#907b4d3c442371348b5162aa518d0814">unset_active</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Causes no item to be active. <a href="#907b4d3c442371348b5162aa518d0814"></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_1ComboBox.html#7482fd5ddf8b0284212852799340f9f0">unset_row_separator_func</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Causes no separators to be drawn. <a href="#7482fd5ddf8b0284212852799340f9f0"></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_1ComboBox.html#74482ef3a23d8a1f45bebda87324d373">~ComboBox</a> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#5d8eb5808407c222cdf83b9ccc88479e">on_changed</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_1ComboBox.html">Gtk::ComboBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBox.html#da4ea19b874086ba879aa6d3df0469f5">wrap</a> (GtkComboBox* 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="#da4ea19b874086ba879aa6d3df0469f5"></a><br></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="4cc3364ac0886eab63223f3e3ca76d34"></a><!-- doxytag: member="Gtk::ComboBox::SlotRowSeparator" ref="4cc3364ac0886eab63223f3e3ca76d34" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classGtk_1_1TreeView.html#23b8b22dc7f071ce1eff27059116f696">TreeView::SlotRowSeparator</a> <a class="el" href="classGtk_1_1ComboBox.html#4cc3364ac0886eab63223f3e3ca76d34">Gtk::ComboBox::SlotRowSeparator</a> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="74482ef3a23d8a1f45bebda87324d373"></a><!-- doxytag: member="Gtk::ComboBox::~ComboBox" ref="74482ef3a23d8a1f45bebda87324d373" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::ComboBox::~ComboBox </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="17ce124b920595a0a10fbfa6f9bda156"></a><!-- doxytag: member="Gtk::ComboBox::ComboBox" ref="17ce124b920595a0a10fbfa6f9bda156" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ComboBox::ComboBox </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="89b1394989f56843cccbea4513531c0c"></a><!-- doxytag: member="Gtk::ComboBox::ComboBox" ref="89b1394989f56843cccbea4513531c0c" args="(const Glib::RefPtr< TreeModel > &model)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ComboBox::ComboBox </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> <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_1ComboBox.html">ComboBox</a> with the model initialized to <em>model</em>. <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="3aeb38f76a23f6fea58716e9310e2453"></a><!-- doxytag: member="Gtk::ComboBox::get_active" ref="3aeb38f76a23f6fea58716e9310e2453" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::const_iterator</a> Gtk::ComboBox::get_active </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets an iterator that points to the current active item, if it exists. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The iterator. </dd></dl> </div> </div><p> <a class="anchor" name="7580310c60bb21a632a57c09c749e6d2"></a><!-- doxytag: member="Gtk::ComboBox::get_active" ref="7580310c60bb21a632a57c09c749e6d2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a> Gtk::ComboBox::get_active </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets an iterator that points to the current active item, if it exists. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The iterator. </dd></dl> </div> </div><p> <a class="anchor" name="5c531be01729f9371a4858344434c7a9"></a><!-- doxytag: member="Gtk::ComboBox::get_active_row_number" ref="5c531be01729f9371a4858344434c7a9" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::ComboBox::get_active_row_number </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return value: An integer which is the index of the currently active item,. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>An integer which is the index of the currently active item, or -1 if there's no active item.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000078">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="a4aacde9b44b8cb1e82fc41f7fdfee50"></a><!-- doxytag: member="Gtk::ComboBox::get_add_tearoffs" ref="a4aacde9b44b8cb1e82fc41f7fdfee50" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::ComboBox::get_add_tearoffs </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the current value of the :add-tearoffs property. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The current value of the :add-tearoffs property. </dd></dl> </div> </div><p> <a class="anchor" name="32476b3be78b3c623598e0f8e1e6e886"></a><!-- doxytag: member="Gtk::ComboBox::get_column_span_column" ref="32476b3be78b3c623598e0f8e1e6e886" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::ComboBox::get_column_span_column </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns: the column span column. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The column span column.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000064">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="03a769bb64c00d06b3da6ed8107efe3d"></a><!-- doxytag: member="Gtk::ComboBox::get_focus_on_click" ref="03a769bb64c00d06b3da6ed8107efe3d" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::ComboBox::get_focus_on_click </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return value: <code>true</code> if the combo box grabs focus when it is. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the combo box grabs focus when it is clicked with the mouse.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000066">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="959e76003161dd8d130dc955af5aaa5e"></a><!-- doxytag: member="Gtk::ComboBox::get_model" ref="959e76003161dd8d130dc955af5aaa5e" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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><const <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a>> Gtk::ComboBox::get_model </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return value: A <a class="el" href="classGtk_1_1TreeModel.html">Gtk::TreeModel</a> which was passed during construction. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1TreeModel.html">Gtk::TreeModel</a> which was passed during construction.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000082">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="d96804e98737c72feb05f8b1968a7941"></a><!-- doxytag: member="Gtk::ComboBox::get_model" ref="d96804e98737c72feb05f8b1968a7941" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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>> Gtk::ComboBox::get_model </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Return value: A <a class="el" href="classGtk_1_1TreeModel.html">Gtk::TreeModel</a> which was passed during construction. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1TreeModel.html">Gtk::TreeModel</a> which was passed during construction.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000081">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="eed24a79b06e27fe62fc4020f75be63e"></a><!-- doxytag: member="Gtk::ComboBox::get_popup_accessible" ref="eed24a79b06e27fe62fc4020f75be63e" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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><const <a class="el" href="classAtk_1_1Object.html">Atk::Object</a>> Gtk::ComboBox::get_popup_accessible </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the accessible object corresponding to the combo box's popup. <p> This function is mostly intended for use by accessibility technologies; applications should have little use for it. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The accessible object corresponding to the combo box's popup.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000069">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="4f07d46393298392e1bad4fba1feffc6"></a><!-- doxytag: member="Gtk::ComboBox::get_popup_accessible" ref="4f07d46393298392e1bad4fba1feffc6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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="classAtk_1_1Object.html">Atk::Object</a>> Gtk::ComboBox::get_popup_accessible </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the accessible object corresponding to the combo box's popup. <p> This function is mostly intended for use by accessibility technologies; applications should have little use for it. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The accessible object corresponding to the combo box's popup.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000068">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="21065e02f2ce850522de40656bd87f05"></a><!-- doxytag: member="Gtk::ComboBox::get_row_span_column" ref="21065e02f2ce850522de40656bd87f05" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::ComboBox::get_row_span_column </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns: the row span column. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The row span column.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000063">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="888670176691708b7acd70b5d1376637"></a><!-- doxytag: member="Gtk::ComboBox::get_title" ref="888670176691708b7acd70b5d1376637" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ComboBox::get_title </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the current title of the menu in tearoff mode. <p> See <a class="el" href="classGtk_1_1ComboBox.html#4bdf2f8d099eab514412367acabdcfcf">set_add_tearoffs()</a>. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The menu's title in tearoff mode. This is an internal copy of the string which must not be freed.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000052">Since gtkmm 2.10:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="5f91a1a4882ed62399f0e68effe80fb6"></a><!-- doxytag: member="Gtk::ComboBox::get_wrap_width" ref="5f91a1a4882ed62399f0e68effe80fb6" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::ComboBox::get_wrap_width </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns: the wrap width. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The wrap width.</dd></dl> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000062">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="4a4a3a27f8c511fc1085d8283c3642e5"></a><!-- doxytag: member="Gtk::ComboBox::gobj" ref="4a4a3a27f8c511fc1085d8283c3642e5" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkComboBox* Gtk::ComboBox::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_1Bin.html#3028496848aa6547cf2a38f8b26125cf">Gtk::Bin</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1ComboBoxEntry.html#042ad903bc13a4429a995e1057da061d">Gtk::ComboBoxEntry</a>. </div> </div><p> <a class="anchor" name="187397e3b51ed9bec9a156c608288b59"></a><!-- doxytag: member="Gtk::ComboBox::gobj" ref="187397e3b51ed9bec9a156c608288b59" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkComboBox* Gtk::ComboBox::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_1Bin.html#6fef1f41c67a588dd33087ea479e0ad1">Gtk::Bin</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1ComboBoxEntry.html#56e85dfdf965ab78608f408f5cb1de64">Gtk::ComboBoxEntry</a>. </div> </div><p> <a class="anchor" name="5d8eb5808407c222cdf83b9ccc88479e"></a><!-- doxytag: member="Gtk::ComboBox::on_changed" ref="5d8eb5808407c222cdf83b9ccc88479e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::ComboBox::on_changed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="51606c9fc18bf392baa98bf1f762923e"></a><!-- doxytag: member="Gtk::ComboBox::popdown" ref="51606c9fc18bf392baa98bf1f762923e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::popdown </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Hides the menu or dropdown list of <em>combo_box</em>. <p> This function is mostly intended for use by accessibility technologies; applications should have little use for it.<p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000085">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="3bb98e5a20c570f1de50153a848e1542"></a><!-- doxytag: member="Gtk::ComboBox::popup" ref="3bb98e5a20c570f1de50153a848e1542" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::popup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Pops up the menu or dropdown list of <em>combo_box</em>. <p> This function is mostly intended for use by accessibility technologies; applications should have little use for it.<p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000084">Since gtkmm 2.4:</a></b></dt><dd></dd></dl> </div> </div><p> <a class="anchor" name="42612b79eeb5c335279dae2b3544abd9"></a><!-- doxytag: member="Gtk::ComboBox::property_active" ref="42612b79eeb5c335279dae2b3544abd9" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::ComboBox::property_active </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The item which is currently active. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="a21ad52c02c4450df823b0f2518bcba6"></a><!-- doxytag: member="Gtk::ComboBox::property_active" ref="a21ad52c02c4450df823b0f2518bcba6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::ComboBox::property_active </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The item which is currently active. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="3925cd4de1f6b85752876cee7053167a"></a><!-- doxytag: member="Gtk::ComboBox::property_add_tearoffs" ref="3925cd4de1f6b85752876cee7053167a" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::ComboBox::property_add_tearoffs </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether dropdowns should have a tearoff menu item. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="cc3491013233f0180d29595656267700"></a><!-- doxytag: member="Gtk::ComboBox::property_add_tearoffs" ref="cc3491013233f0180d29595656267700" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::ComboBox::property_add_tearoffs </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Whether dropdowns should have a tearoff menu item. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="fb27f35fd62fd9ef17f49daf79ea7367"></a><!-- doxytag: member="Gtk::ComboBox::property_column_span_column" ref="fb27f35fd62fd9ef17f49daf79ea7367" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::ComboBox::property_column_span_column </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the column span values. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="a47bd6a5b3fc379852826e40713f1baf"></a><!-- doxytag: member="Gtk::ComboBox::property_column_span_column" ref="a47bd6a5b3fc379852826e40713f1baf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::ComboBox::property_column_span_column </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the column span values. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="35ac5785e5aec9cadc8205c0cc80ea70"></a><!-- doxytag: member="Gtk::ComboBox::property_focus_on_click" ref="35ac5785e5aec9cadc8205c0cc80ea70" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::ComboBox::property_focus_on_click </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether the combo box grabs focus when it is clicked with the mouse. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="7b31650e62742fc7718c4b1c68c54e92"></a><!-- doxytag: member="Gtk::ComboBox::property_focus_on_click" ref="7b31650e62742fc7718c4b1c68c54e92" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::ComboBox::property_focus_on_click </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Whether the combo box grabs focus when it is clicked with the mouse. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="f8099a2a0d9d39d60517fcbff3471aa4"></a><!-- doxytag: member="Gtk::ComboBox::property_has_frame" ref="f8099a2a0d9d39d60517fcbff3471aa4" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::ComboBox::property_has_frame </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether the combo box draws a frame around the child. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="aee20c9c41ace2b3dba1529deee2cab9"></a><!-- doxytag: member="Gtk::ComboBox::property_has_frame" ref="aee20c9c41ace2b3dba1529deee2cab9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::ComboBox::property_has_frame </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Whether the combo box draws a frame around the child. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="cd9402b2fe592895984b91a2d489b7b7"></a><!-- doxytag: member="Gtk::ComboBox::property_model" ref="cd9402b2fe592895984b91a2d489b7b7" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<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>>> Gtk::ComboBox::property_model </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The model for the combo box. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="c53c1e2300af85a094910d839db61023"></a><!-- doxytag: member="Gtk::ComboBox::property_model" ref="c53c1e2300af85a094910d839db61023" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<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>>> Gtk::ComboBox::property_model </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The model for the combo box. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="f52ec5f81d7ab4e5ed8e5355e9f5ed3e"></a><!-- doxytag: member="Gtk::ComboBox::property_row_span_column" ref="f52ec5f81d7ab4e5ed8e5355e9f5ed3e" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::ComboBox::property_row_span_column </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the row span values. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="e2c5f1d7e52a343c00b53d75ca46a1a3"></a><!-- doxytag: member="Gtk::ComboBox::property_row_span_column" ref="e2c5f1d7e52a343c00b53d75ca46a1a3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::ComboBox::property_row_span_column </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="classGtk_1_1TreeModel.html">TreeModel</a> column containing the row span values. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="1a99d06d757455952c2b6c6bbf1b292c"></a><!-- doxytag: member="Gtk::ComboBox::property_tearoff_title" ref="1a99d06d757455952c2b6c6bbf1b292c" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::ComboBox::property_tearoff_title </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> A title that may be displayed by the window manager when the popup is torn-off. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="ed300d23be7a39035aca5cac8bae5a82"></a><!-- doxytag: member="Gtk::ComboBox::property_tearoff_title" ref="ed300d23be7a39035aca5cac8bae5a82" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::ComboBox::property_tearoff_title </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> A title that may be displayed by the window manager when the popup is torn-off. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="82749d1db53d25d5b7f9a50881e26b1a"></a><!-- doxytag: member="Gtk::ComboBox::property_wrap_width" ref="82749d1db53d25d5b7f9a50881e26b1a" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::ComboBox::property_wrap_width </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Wrap width for laying out the items in a grid. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="b500e4f95b19e0ef6c6efcd651717697"></a><!-- doxytag: member="Gtk::ComboBox::property_wrap_width" ref="b500e4f95b19e0ef6c6efcd651717697" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::ComboBox::property_wrap_width </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Wrap width for laying out the items in a grid. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p> <a class="anchor" name="699cc8d026e92175f54ddfe1812e83cd"></a><!-- doxytag: member="Gtk::ComboBox::set_active" ref="699cc8d026e92175f54ddfe1812e83cd" args="(const TreeModel::iterator &iter)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_active </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1TreeIter.html">TreeModel::iterator</a>& </td> <td class="paramname"> <em>iter</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the current active item to be the one referenced by <em>iter</em>. <p> <em>iter</em> must correspond to a path of depth one.<p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000080">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>iter</em> </td><td>The <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeIter</a>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="4f23cf08e85733d23f120935b235096d"></a><!-- doxytag: member="Gtk::ComboBox::set_active" ref="4f23cf08e85733d23f120935b235096d" args="(int index)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_active </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>index</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the active item of <em>combo_box</em> to be the item at <em>index</em>. <p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000079">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>index</em> </td><td>An index in the model passed during construction, or -1 to have no active item. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="4bdf2f8d099eab514412367acabdcfcf"></a><!-- doxytag: member="Gtk::ComboBox::set_add_tearoffs" ref="4bdf2f8d099eab514412367acabdcfcf" args="(bool add_tearoffs=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_add_tearoffs </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>add_tearoffs</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets whether the popup menu should have a tearoff menu item. <p> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000065">Since gtkmm 2.6:</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>add_tearoffs</em> </td><td><code>true</code> to add tearoff menu items. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="321c575d9d75d527168b06d6f8bd5122"></a><!-- doxytag: member="Gtk::ComboBox::set_column_span_column" ref="321c575d9d75d527168b06d6f8bd5122" args="(int column_span)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_column_span_column </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>column_span</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the column with column span information for <em>combo_box</em> to be <em>column_span</em>. <p> The column span column contains integers which indicate how many columns an item should span.<p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000077">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>column_span</em> </td><td>A column in the model passed during construction. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="90788d9b010ba365599826829ef04670"></a><!-- doxytag: member="Gtk::ComboBox::set_focus_on_click" ref="90788d9b010ba365599826829ef04670" args="(bool focus_on_click=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_focus_on_click </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>focus_on_click</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets whether the combo box will grab focus when it is clicked with the mouse. <p> Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application.<p> <dl compact><dt><b><a class="el" href="newin2p6s.html#_newin2p6s000067">Since gtkmm 2.6:</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>focus_on_click</em> </td><td>Whether the combo box grabs focus when clicked with the mouse. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="b0b1ad19e9ffb50b04eb04431aaa3fd2"></a><!-- doxytag: member="Gtk::ComboBox::set_model" ref="b0b1ad19e9ffb50b04eb04431aaa3fd2" args="(const Glib::RefPtr< TreeModel > &model)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_model </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> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the model used by <em>combo_box</em> to be <em>model</em>. <p> Will unset a previously set model (if applicable). If model is <code>0</code>, then it will unset the model.<p> Note that this function does not clear the cell renderers, you have to call <a class="el" href="classGtk_1_1CellLayout.html#b87faf407763c4df8985ac7ff985fad8">Gtk::CellLayout::clear()</a> yourself if you need to set up different cell renderers for the new model.<p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000083">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>model</em> </td><td>A <a class="el" href="classGtk_1_1TreeModel.html">Gtk::TreeModel</a>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="2c65e7509bb7b8f9a197a517cb5cbed4"></a><!-- doxytag: member="Gtk::ComboBox::set_row_separator_func" ref="2c65e7509bb7b8f9a197a517cb5cbed4" args="(const SlotRowSeparator &slot)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_row_separator_func </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1ComboBox.html#4cc3364ac0886eab63223f3e3ca76d34">SlotRowSeparator</a>& </td> <td class="paramname"> <em>slot</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the row separator function, which is used to determine whether a row should be drawn as a separator. <p> See also <a class="el" href="classGtk_1_1ComboBox.html#7482fd5ddf8b0284212852799340f9f0">unset_row_separator_func()</a>.<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>slot</em> </td><td>The callback. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="7bc7717c3ad6a7ee9e7de907691e39f5"></a><!-- doxytag: member="Gtk::ComboBox::set_row_span_column" ref="7bc7717c3ad6a7ee9e7de907691e39f5" args="(int row_span)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_row_span_column </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>row_span</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the column with row span information for <em>combo_box</em> to be <em>row_span</em>. <p> The row span column contains integers which indicate how many rows an item should span.<p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000076">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>row_span</em> </td><td>A column in the model passed during construction. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="be6b2a8d20f7a7a5f512df744ac2c48a"></a><!-- doxytag: member="Gtk::ComboBox::set_title" ref="be6b2a8d20f7a7a5f512df744ac2c48a" args="(const Glib::ustring &title)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_title </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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>title</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the menu's title in tearoff mode. <p> <dl compact><dt><b><a class="el" href="newin2p10s.html#_newin2p10s000053">Since gtkmm 2.10:</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>title</em> </td><td>A title for the menu in tearoff mode. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="320ba39253e225c63979b2d41342068c"></a><!-- doxytag: member="Gtk::ComboBox::set_wrap_width" ref="320ba39253e225c63979b2d41342068c" args="(int width)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::set_wrap_width </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>width</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the wrap width of <em>combo_box</em> to be <em>width</em>. <p> The wrap width is basically the preferred number of columns when you want the popup to be layed out in a table.<p> <dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000075">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>width</em> </td><td>Preferred number of columns. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="d499b1a7834dae64f9b30f7b036c3321"></a><!-- doxytag: member="Gtk::ComboBox::signal_changed" ref="d499b1a7834dae64f9b30f7b036c3321" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Gtk::ComboBox::signal_changed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The changed signal gets emitted when the active item is changed. <p> This can be due to the user selecting a different item from the list, or due to a call to set_active_iter().<p> <dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_changed()</code> </dd></dl> </div> </div><p> <a class="anchor" name="907b4d3c442371348b5162aa518d0814"></a><!-- doxytag: member="Gtk::ComboBox::unset_active" ref="907b4d3c442371348b5162aa518d0814" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::unset_active </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Causes no item to be active. <p> See also <a class="el" href="classGtk_1_1ComboBox.html#4f23cf08e85733d23f120935b235096d">set_active()</a>. </div> </div><p> <a class="anchor" name="7482fd5ddf8b0284212852799340f9f0"></a><!-- doxytag: member="Gtk::ComboBox::unset_row_separator_func" ref="7482fd5ddf8b0284212852799340f9f0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ComboBox::unset_row_separator_func </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Causes no separators to be drawn. <p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="da4ea19b874086ba879aa6d3df0469f5"></a><!-- doxytag: member="Gtk::ComboBox::wrap" ref="da4ea19b874086ba879aa6d3df0469f5" args="(GtkComboBox *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1ComboBox.html">Gtk::ComboBox</a>* wrap </td> <td>(</td> <td class="paramtype">GtkComboBox * </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="combobox_8h.html">combobox.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>