~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/doc/gtkmm-2.4/reference/html/classGtk_1_1ComboBoxText.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<title>gtkmm: Gtk::ComboBoxText Class Reference</title>
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.7.3 -->
 
11
<div id="top">
 
12
<div id="titlearea">
 
13
<table cellspacing="0" cellpadding="0">
 
14
 <tbody>
 
15
 <tr style="height: 56px;">
 
16
  <td style="padding-left: 0.5em;">
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.2</span></div>
 
18
  </td>
 
19
 </tr>
 
20
 </tbody>
 
21
</table>
 
22
</div>
 
23
  <div id="navrow1" class="tabs">
 
24
    <ul class="tablist">
 
25
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 
26
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
 
27
      <li><a href="modules.html"><span>Modules</span></a></li>
 
28
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
29
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
 
30
    </ul>
 
31
  </div>
 
32
  <div id="navrow2" class="tabs2">
 
33
    <ul class="tablist">
 
34
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
 
35
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
 
36
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
 
37
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
 
38
    </ul>
 
39
  </div>
 
40
  <div id="nav-path" class="navpath">
 
41
    <ul>
 
42
      <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
 
43
      <li class="navelem"><a class="el" href="classGtk_1_1ComboBoxText.html">ComboBoxText</a> </li>
 
44
    </ul>
 
45
  </div>
 
46
</div>
 
47
<div class="header">
 
48
  <div class="summary">
 
49
<a href="#nested-classes">Classes</a> &#124;
 
50
<a href="#pub-methods">Public Member Functions</a> &#124;
 
51
<a href="#pro-attribs">Protected Attributes</a> </div>
 
52
  <div class="headertitle">
 
53
<h1>Gtk::ComboBoxText Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a></div></h1> </div>
 
54
</div>
 
55
<div class="contents">
 
56
<!-- doxytag: class="Gtk::ComboBoxText" --><!-- doxytag: inherits="Gtk::ComboBox" -->
 
57
<p>This is a specialisation of the <a class="el" href="classGtk_1_1ComboBox.html" title="A widget used to choose from a list of items.">ComboBox</a> which has one column of text (a simple list), and appropriate methods for setting and getting the text. <a href="#_details">More...</a></p>
 
58
<div class="dynheader">
 
59
Inheritance diagram for Gtk::ComboBoxText:</div>
 
60
<div class="dyncontent">
 
61
<div class="center"><img src="classGtk_1_1ComboBoxText__inherit__graph.png" border="0" usemap="#Gtk_1_1ComboBoxText_inherit__map" alt="Inheritance graph"/></div>
 
62
<map name="Gtk_1_1ComboBoxText_inherit__map" id="Gtk_1_1ComboBoxText_inherit__map">
 
63
<area shape="rect" id="node2" href="classGtk_1_1ComboBox.html" title="A widget used to choose from a list of items." alt="" coords="168,566,283,597"/><area shape="rect" id="node4" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="148,486,217,517"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="116,406,223,437"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="107,326,197,357"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="5,246,93,277"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="57,166,148,197"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="116,86,236,117"/><area shape="rect" id="node22" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="199,166,303,197"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="123,6,229,37"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,246,240,277"/><area shape="rect" id="node20" href="classGtk_1_1CellLayout.html" title="An interface for packing cells." alt="" coords="221,326,333,357"/></map>
 
64
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
65
<div class="dynheader">
 
66
Collaboration diagram for Gtk::ComboBoxText:</div>
 
67
<div class="dyncontent">
 
68
<div class="center"><img src="classGtk_1_1ComboBoxText__coll__graph.png" border="0" usemap="#Gtk_1_1ComboBoxText_coll__map" alt="Collaboration graph"/></div>
 
69
<map name="Gtk_1_1ComboBoxText_coll__map" id="Gtk_1_1ComboBoxText_coll__map">
 
70
<area shape="rect" id="node2" href="classGtk_1_1ComboBox.html" title="A widget used to choose from a list of items." alt="" coords="1931,69,2045,99"/><area shape="rect" id="node4" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="1589,69,1659,99"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="1208,69,1315,99"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="917,69,1008,99"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="556,58,644,89"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="343,58,433,89"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="164,30,284,61"/><area shape="rect" id="node22" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="336,5,440,35"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="5,30,112,61"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="539,111,661,142"/><area shape="rect" id="node20" href="classGtk_1_1CellLayout.html" title="An interface for packing cells." alt="" coords="733,17,845,47"/><area shape="rect" id="node25" href="classGtk_1_1ComboBoxText_1_1TextModelColumns.html" title="Gtk::ComboBoxText::TextModelColumns" alt="" coords="1859,131,2117,162"/><area shape="rect" id="node27" href="classGtk_1_1TreeModelColumnRecord.html" title="Typedefed as TreeModel::ColumnRecord." alt="" coords="1523,131,1725,162"/><area shape="rect" id="node29" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00902.html" title="std::vector\&lt; GType \&gt;" alt="" coords="1188,131,1335,162"/><area shape="rect" id="node33" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00902.html" title="std::vector\&lt; _Tp, _Alloc \&gt;" alt="" coords="876,122,1049,153"/><area shape="rect" id="node36" href="classGtk_1_1TreeModelColumn.html" title="Gtk::TreeModelColumn\&lt; Glib::ustring \&gt;" alt="" coords="1500,189,1748,219"/><area shape="rect" id="node38" href="classGtk_1_1TreeModelColumnBase.html" title="Base class of TreeModelColumn templates." alt="" coords="871,233,1055,263"/><area shape="rect" id="node40" href="classGtk_1_1TreeModelColumn.html" title="A Gtk::TreeModelColumn describes the C++ type of the data in a model column, and identifies that colu..." alt="" coords="1168,189,1355,219"/></map>
 
71
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
72
 
 
73
<p><a href="classGtk_1_1ComboBoxText-members.html">List of all members.</a></p>
 
74
<table class="memberdecls">
 
75
<tr><td colspan="2"><h2><a name="nested-classes"></a>
 
76
Classes</h2></td></tr>
 
77
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText_1_1TextModelColumns.html">TextModelColumns</a></td></tr>
 
78
<tr><td colspan="2"><h2><a name="pub-methods"></a>
 
79
Public Member Functions</h2></td></tr>
 
80
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#a77c48f90f4e954e23851d2b159ad2bf7">ComboBoxText</a> ()</td></tr>
 
81
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new empty <a class="el" href="classGtk_1_1ComboBoxText.html" title="This is a specialisation of the ComboBox which has one column of text (a simple list), and appropriate methods for setting and getting the text.">ComboBoxText</a>, without an entry. <a href="#a77c48f90f4e954e23851d2b159ad2bf7"></a><br/></td></tr>
 
82
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#a1a92bff1703cad40feb74e915d9ba3b3">ComboBoxText</a> (bool has_entry)</td></tr>
 
83
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new empty <a class="el" href="classGtk_1_1ComboBoxText.html" title="This is a specialisation of the ComboBox which has one column of text (a simple list), and appropriate methods for setting and getting the text.">ComboBoxText</a>, optionally with an entry. <a href="#a1a92bff1703cad40feb74e915d9ba3b3"></a><br/></td></tr>
 
84
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#ad43c1cc0325585fd53908d5d7038657e">append</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
85
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an item to the end of the drop-down list. <a href="#ad43c1cc0325585fd53908d5d7038657e"></a><br/></td></tr>
 
86
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#acaabb30f27480e110ff50ad6152c70be">insert</a> (int position, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
87
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#aa26a9271d840cae4abcaf451924675ee">prepend</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
88
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an item to the beginning of the drop-down list. <a href="#aa26a9271d840cae4abcaf451924675ee"></a><br/></td></tr>
 
89
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#ab6a4b6f833c964144ecb9ce79b9f949d">append_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
90
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an item to the end of the drop-down list. <a href="#ab6a4b6f833c964144ecb9ce79b9f949d"></a><br/></td></tr>
 
91
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#a9c8f65b084135fefe8831a60294298ee">insert_text</a> (int position, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
92
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#a6a1e6e454739ae9b1bd4a56b1de72189">prepend_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
93
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an item to the beginning of the drop-down list. <a href="#a6a1e6e454739ae9b1bd4a56b1de72189"></a><br/></td></tr>
 
94
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#aec3e17b23e8b13957e25547f1ef08d05">clear_items</a> ()</td></tr>
 
95
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all items from the drop-down menu. <a href="#aec3e17b23e8b13957e25547f1ef08d05"></a><br/></td></tr>
 
96
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#ae05272a2c05da608573cd1d19382bdf2">get_active_text</a> () const </td></tr>
 
97
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently-chosen item. <a href="#ae05272a2c05da608573cd1d19382bdf2"></a><br/></td></tr>
 
98
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#ab1c6c5c2567690ef2f59b10a493e0b3c">set_active_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
99
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the currently-chosen item if it matches the specified text. <a href="#ab1c6c5c2567690ef2f59b10a493e0b3c"></a><br/></td></tr>
 
100
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#aff2f7bdb9e8796eb4f30fba36a37435e">clear</a> ()</td></tr>
 
101
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#ae2820f73e92df9abacaae71bed2d244a">remove_all</a> ()</td></tr>
 
102
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all items from the drop-down menu. <a href="#ae2820f73e92df9abacaae71bed2d244a"></a><br/></td></tr>
 
103
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#ad7a41e39e26df6fbe327c5f68f0b7920">remove_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
 
104
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the specified item if it is in the drop-down menu. <a href="#ad7a41e39e26df6fbe327c5f68f0b7920"></a><br/></td></tr>
 
105
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
 
106
Protected Attributes</h2></td></tr>
 
107
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1ComboBoxText_1_1TextModelColumns.html">TextModelColumns</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxText.html#a9097287174645c2bb861dccc0b759912">m_text_columns</a></td></tr>
 
108
</table>
 
109
<hr/><a name="_details"></a><h2>Detailed Description</h2>
 
110
<div class="textblock"><p>This is a specialisation of the <a class="el" href="classGtk_1_1ComboBox.html" title="A widget used to choose from a list of items.">ComboBox</a> which has one column of text (a simple list), and appropriate methods for setting and getting the text. </p>
 
111
<p>You should not call <a class="el" href="classGtk_1_1ComboBox.html#ab0b1ad19e9ffb50b04eb04431aaa3fd2" title="Sets the model used by combo_box to be model.">set_model()</a> or attempt to pack more cells into this combo box via its <a class="el" href="classGtk_1_1CellLayout.html" title="An interface for packing cells.">CellLayout</a> base class.</p>
 
112
<p>Note that you cannot use this class with Gnome::Glade::Xml::get_widget_derived() to wrap a GtkComboBox added in the Glade user interface designer, because Glade adds its own <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a> instead of using the <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a> from this class. You could use a normal <a class="el" href="classGtk_1_1ComboBox.html" title="A widget used to choose from a list of items.">Gtk::ComboBox</a> instead, though you can not use Glade to add rows to a <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">TreeModel</a> that is defined in your C++ code. </p>
 
113
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
 
114
<a class="anchor" id="a77c48f90f4e954e23851d2b159ad2bf7"></a><!-- doxytag: member="Gtk::ComboBoxText::ComboBoxText" ref="a77c48f90f4e954e23851d2b159ad2bf7" args="()" -->
 
115
<div class="memitem">
 
116
<div class="memproto">
 
117
      <table class="memname">
 
118
        <tr>
 
119
          <td class="memname">Gtk::ComboBoxText::ComboBoxText </td>
 
120
          <td>(</td>
 
121
          <td class="paramname"></td><td>)</td>
 
122
          <td></td>
 
123
        </tr>
 
124
      </table>
 
125
</div>
 
126
<div class="memdoc">
 
127
 
 
128
<p>Creates a new empty <a class="el" href="classGtk_1_1ComboBoxText.html" title="This is a specialisation of the ComboBox which has one column of text (a simple list), and appropriate methods for setting and getting the text.">ComboBoxText</a>, without an entry. </p>
 
129
 
 
130
</div>
 
131
</div>
 
132
<a class="anchor" id="a1a92bff1703cad40feb74e915d9ba3b3"></a><!-- doxytag: member="Gtk::ComboBoxText::ComboBoxText" ref="a1a92bff1703cad40feb74e915d9ba3b3" args="(bool has_entry)" -->
 
133
<div class="memitem">
 
134
<div class="memproto">
 
135
      <table class="memname">
 
136
        <tr>
 
137
          <td class="memname">Gtk::ComboBoxText::ComboBoxText </td>
 
138
          <td>(</td>
 
139
          <td class="paramtype">bool&#160;</td>
 
140
          <td class="paramname"><em>has_entry</em></td><td>)</td>
 
141
          <td><code> [explicit]</code></td>
 
142
        </tr>
 
143
      </table>
 
144
</div>
 
145
<div class="memdoc">
 
146
 
 
147
<p>Creates a new empty <a class="el" href="classGtk_1_1ComboBoxText.html" title="This is a specialisation of the ComboBox which has one column of text (a simple list), and appropriate methods for setting and getting the text.">ComboBoxText</a>, optionally with an entry. </p>
 
148
<dl><dt><b>Parameters:</b></dt><dd>
 
149
  <table class="params">
 
150
    <tr><td class="paramname">has_entry</td><td>If this is true then this will have an <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> widget. </td></tr>
 
151
  </table>
 
152
  </dd>
 
153
</dl>
 
154
 
 
155
</div>
 
156
</div>
 
157
<hr/><h2>Member Function Documentation</h2>
 
158
<a class="anchor" id="ad43c1cc0325585fd53908d5d7038657e"></a><!-- doxytag: member="Gtk::ComboBoxText::append" ref="ad43c1cc0325585fd53908d5d7038657e" args="(const Glib::ustring &amp;text)" -->
 
159
<div class="memitem">
 
160
<div class="memproto">
 
161
      <table class="memname">
 
162
        <tr>
 
163
          <td class="memname">void Gtk::ComboBoxText::append </td>
 
164
          <td>(</td>
 
165
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
166
          <td class="paramname"><em>text</em></td><td>)</td>
 
167
          <td></td>
 
168
        </tr>
 
169
      </table>
 
170
</div>
 
171
<div class="memdoc">
 
172
 
 
173
<p>Add an item to the end of the drop-down list. </p>
 
174
<dl><dt><b>Parameters:</b></dt><dd>
 
175
  <table class="params">
 
176
    <tr><td class="paramname">text</td><td>The text for the item. </td></tr>
 
177
  </table>
 
178
  </dd>
 
179
</dl>
 
180
 
 
181
</div>
 
182
</div>
 
183
<a class="anchor" id="ab6a4b6f833c964144ecb9ce79b9f949d"></a><!-- doxytag: member="Gtk::ComboBoxText::append_text" ref="ab6a4b6f833c964144ecb9ce79b9f949d" args="(const Glib::ustring &amp;text)" -->
 
184
<div class="memitem">
 
185
<div class="memproto">
 
186
      <table class="memname">
 
187
        <tr>
 
188
          <td class="memname">void Gtk::ComboBoxText::append_text </td>
 
189
          <td>(</td>
 
190
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
191
          <td class="paramname"><em>text</em></td><td>)</td>
 
192
          <td></td>
 
193
        </tr>
 
194
      </table>
 
195
</div>
 
196
<div class="memdoc">
 
197
 
 
198
<p>Add an item to the end of the drop-down list. </p>
 
199
<dl><dt><b>Parameters:</b></dt><dd>
 
200
  <table class="params">
 
201
    <tr><td class="paramname">text</td><td>The text for the item.</td></tr>
 
202
  </table>
 
203
  </dd>
 
204
</dl>
 
205
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000171">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1ComboBoxText.html#ad43c1cc0325585fd53908d5d7038657e" title="Add an item to the end of the drop-down list.">append()</a>. </dd></dl>
 
206
 
 
207
</div>
 
208
</div>
 
209
<a class="anchor" id="aff2f7bdb9e8796eb4f30fba36a37435e"></a><!-- doxytag: member="Gtk::ComboBoxText::clear" ref="aff2f7bdb9e8796eb4f30fba36a37435e" args="()" -->
 
210
<div class="memitem">
 
211
<div class="memproto">
 
212
      <table class="memname">
 
213
        <tr>
 
214
          <td class="memname">void Gtk::ComboBoxText::clear </td>
 
215
          <td>(</td>
 
216
          <td class="paramname"></td><td>)</td>
 
217
          <td></td>
 
218
        </tr>
 
219
      </table>
 
220
</div>
 
221
<div class="memdoc">
 
222
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000175">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1ComboBoxText.html#ae2820f73e92df9abacaae71bed2d244a" title="Remove all items from the drop-down menu.">remove_all()</a>. Since 2.8. </dd></dl>
 
223
 
 
224
<p>Reimplemented from <a class="el" href="classGtk_1_1CellLayout.html#ab87faf407763c4df8985ac7ff985fad8">Gtk::CellLayout</a>.</p>
 
225
 
 
226
</div>
 
227
</div>
 
228
<a class="anchor" id="aec3e17b23e8b13957e25547f1ef08d05"></a><!-- doxytag: member="Gtk::ComboBoxText::clear_items" ref="aec3e17b23e8b13957e25547f1ef08d05" args="()" -->
 
229
<div class="memitem">
 
230
<div class="memproto">
 
231
      <table class="memname">
 
232
        <tr>
 
233
          <td class="memname">void Gtk::ComboBoxText::clear_items </td>
 
234
          <td>(</td>
 
235
          <td class="paramname"></td><td>)</td>
 
236
          <td></td>
 
237
        </tr>
 
238
      </table>
 
239
</div>
 
240
<div class="memdoc">
 
241
 
 
242
<p>Remove all items from the drop-down menu. </p>
 
243
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000174">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1ComboBoxText.html#ae2820f73e92df9abacaae71bed2d244a" title="Remove all items from the drop-down menu.">remove_all()</a>. </dd></dl>
 
244
 
 
245
</div>
 
246
</div>
 
247
<a class="anchor" id="ae05272a2c05da608573cd1d19382bdf2"></a><!-- doxytag: member="Gtk::ComboBoxText::get_active_text" ref="ae05272a2c05da608573cd1d19382bdf2" args="() const " -->
 
248
<div class="memitem">
 
249
<div class="memproto">
 
250
      <table class="memname">
 
251
        <tr>
 
252
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ComboBoxText::get_active_text </td>
 
253
          <td>(</td>
 
254
          <td class="paramname"></td><td>)</td>
 
255
          <td> const</td>
 
256
        </tr>
 
257
      </table>
 
258
</div>
 
259
<div class="memdoc">
 
260
 
 
261
<p>Get the currently-chosen item. </p>
 
262
<dl class="return"><dt><b>Returns:</b></dt><dd>The text of the active item. </dd></dl>
 
263
 
 
264
</div>
 
265
</div>
 
266
<a class="anchor" id="acaabb30f27480e110ff50ad6152c70be"></a><!-- doxytag: member="Gtk::ComboBoxText::insert" ref="acaabb30f27480e110ff50ad6152c70be" args="(int position, const Glib::ustring &amp;text)" -->
 
267
<div class="memitem">
 
268
<div class="memproto">
 
269
      <table class="memname">
 
270
        <tr>
 
271
          <td class="memname">void Gtk::ComboBoxText::insert </td>
 
272
          <td>(</td>
 
273
          <td class="paramtype">int&#160;</td>
 
274
          <td class="paramname"><em>position</em>, </td>
 
275
        </tr>
 
276
        <tr>
 
277
          <td class="paramkey"></td>
 
278
          <td></td>
 
279
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
280
          <td class="paramname"><em>text</em>&#160;</td>
 
281
        </tr>
 
282
        <tr>
 
283
          <td></td>
 
284
          <td>)</td>
 
285
          <td></td><td></td>
 
286
        </tr>
 
287
      </table>
 
288
</div>
 
289
<div class="memdoc">
 
290
 
 
291
</div>
 
292
</div>
 
293
<a class="anchor" id="a9c8f65b084135fefe8831a60294298ee"></a><!-- doxytag: member="Gtk::ComboBoxText::insert_text" ref="a9c8f65b084135fefe8831a60294298ee" args="(int position, const Glib::ustring &amp;text)" -->
 
294
<div class="memitem">
 
295
<div class="memproto">
 
296
      <table class="memname">
 
297
        <tr>
 
298
          <td class="memname">void Gtk::ComboBoxText::insert_text </td>
 
299
          <td>(</td>
 
300
          <td class="paramtype">int&#160;</td>
 
301
          <td class="paramname"><em>position</em>, </td>
 
302
        </tr>
 
303
        <tr>
 
304
          <td class="paramkey"></td>
 
305
          <td></td>
 
306
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
307
          <td class="paramname"><em>text</em>&#160;</td>
 
308
        </tr>
 
309
        <tr>
 
310
          <td></td>
 
311
          <td>)</td>
 
312
          <td></td><td></td>
 
313
        </tr>
 
314
      </table>
 
315
</div>
 
316
<div class="memdoc">
 
317
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000172">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1ComboBoxText.html#acaabb30f27480e110ff50ad6152c70be">insert()</a>.</dd></dl>
 
318
 
 
319
</div>
 
320
</div>
 
321
<a class="anchor" id="aa26a9271d840cae4abcaf451924675ee"></a><!-- doxytag: member="Gtk::ComboBoxText::prepend" ref="aa26a9271d840cae4abcaf451924675ee" args="(const Glib::ustring &amp;text)" -->
 
322
<div class="memitem">
 
323
<div class="memproto">
 
324
      <table class="memname">
 
325
        <tr>
 
326
          <td class="memname">void Gtk::ComboBoxText::prepend </td>
 
327
          <td>(</td>
 
328
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
329
          <td class="paramname"><em>text</em></td><td>)</td>
 
330
          <td></td>
 
331
        </tr>
 
332
      </table>
 
333
</div>
 
334
<div class="memdoc">
 
335
 
 
336
<p>Add an item to the beginning of the drop-down list. </p>
 
337
<dl><dt><b>Parameters:</b></dt><dd>
 
338
  <table class="params">
 
339
    <tr><td class="paramname">text</td><td>The text for the item. </td></tr>
 
340
  </table>
 
341
  </dd>
 
342
</dl>
 
343
 
 
344
</div>
 
345
</div>
 
346
<a class="anchor" id="a6a1e6e454739ae9b1bd4a56b1de72189"></a><!-- doxytag: member="Gtk::ComboBoxText::prepend_text" ref="a6a1e6e454739ae9b1bd4a56b1de72189" args="(const Glib::ustring &amp;text)" -->
 
347
<div class="memitem">
 
348
<div class="memproto">
 
349
      <table class="memname">
 
350
        <tr>
 
351
          <td class="memname">void Gtk::ComboBoxText::prepend_text </td>
 
352
          <td>(</td>
 
353
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
354
          <td class="paramname"><em>text</em></td><td>)</td>
 
355
          <td></td>
 
356
        </tr>
 
357
      </table>
 
358
</div>
 
359
<div class="memdoc">
 
360
 
 
361
<p>Add an item to the beginning of the drop-down list. </p>
 
362
<dl><dt><b>Parameters:</b></dt><dd>
 
363
  <table class="params">
 
364
    <tr><td class="paramname">text</td><td>The text for the item.</td></tr>
 
365
  </table>
 
366
  </dd>
 
367
</dl>
 
368
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000173">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1ComboBoxText.html#aa26a9271d840cae4abcaf451924675ee" title="Add an item to the beginning of the drop-down list.">prepend()</a>. </dd></dl>
 
369
 
 
370
</div>
 
371
</div>
 
372
<a class="anchor" id="ae2820f73e92df9abacaae71bed2d244a"></a><!-- doxytag: member="Gtk::ComboBoxText::remove_all" ref="ae2820f73e92df9abacaae71bed2d244a" args="()" -->
 
373
<div class="memitem">
 
374
<div class="memproto">
 
375
      <table class="memname">
 
376
        <tr>
 
377
          <td class="memname">void Gtk::ComboBoxText::remove_all </td>
 
378
          <td>(</td>
 
379
          <td class="paramname"></td><td>)</td>
 
380
          <td></td>
 
381
        </tr>
 
382
      </table>
 
383
</div>
 
384
<div class="memdoc">
 
385
 
 
386
<p>Remove all items from the drop-down menu. </p>
 
387
 
 
388
</div>
 
389
</div>
 
390
<a class="anchor" id="ad7a41e39e26df6fbe327c5f68f0b7920"></a><!-- doxytag: member="Gtk::ComboBoxText::remove_text" ref="ad7a41e39e26df6fbe327c5f68f0b7920" args="(const Glib::ustring &amp;text)" -->
 
391
<div class="memitem">
 
392
<div class="memproto">
 
393
      <table class="memname">
 
394
        <tr>
 
395
          <td class="memname">void Gtk::ComboBoxText::remove_text </td>
 
396
          <td>(</td>
 
397
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
398
          <td class="paramname"><em>text</em></td><td>)</td>
 
399
          <td></td>
 
400
        </tr>
 
401
      </table>
 
402
</div>
 
403
<div class="memdoc">
 
404
 
 
405
<p>Remove the specified item if it is in the drop-down menu. </p>
 
406
<p>The text of the item that should be removed. </p>
 
407
 
 
408
</div>
 
409
</div>
 
410
<a class="anchor" id="ab1c6c5c2567690ef2f59b10a493e0b3c"></a><!-- doxytag: member="Gtk::ComboBoxText::set_active_text" ref="ab1c6c5c2567690ef2f59b10a493e0b3c" args="(const Glib::ustring &amp;text)" -->
 
411
<div class="memitem">
 
412
<div class="memproto">
 
413
      <table class="memname">
 
414
        <tr>
 
415
          <td class="memname">void Gtk::ComboBoxText::set_active_text </td>
 
416
          <td>(</td>
 
417
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
418
          <td class="paramname"><em>text</em></td><td>)</td>
 
419
          <td></td>
 
420
        </tr>
 
421
      </table>
 
422
</div>
 
423
<div class="memdoc">
 
424
 
 
425
<p>Set the currently-chosen item if it matches the specified text. </p>
 
426
<p>The text of the item that should be selected. </p>
 
427
 
 
428
</div>
 
429
</div>
 
430
<hr/><h2>Member Data Documentation</h2>
 
431
<a class="anchor" id="a9097287174645c2bb861dccc0b759912"></a><!-- doxytag: member="Gtk::ComboBoxText::m_text_columns" ref="a9097287174645c2bb861dccc0b759912" args="" -->
 
432
<div class="memitem">
 
433
<div class="memproto">
 
434
      <table class="memname">
 
435
        <tr>
 
436
          <td class="memname"><a class="el" href="classGtk_1_1ComboBoxText_1_1TextModelColumns.html">TextModelColumns</a> <a class="el" href="classGtk_1_1ComboBoxText.html#a9097287174645c2bb861dccc0b759912">Gtk::ComboBoxText::m_text_columns</a><code> [protected]</code></td>
 
437
        </tr>
 
438
      </table>
 
439
</div>
 
440
<div class="memdoc">
 
441
 
 
442
</div>
 
443
</div>
 
444
<hr/>The documentation for this class was generated from the following file:<ul>
 
445
<li>gtkmm/comboboxtext.h</li>
 
446
</ul>
 
447
</div>
 
448
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:49 for gtkmm by&#160;
 
449
<a href="http://www.doxygen.org/index.html">
 
450
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
451
</body>
 
452
</html>