1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
|
<!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::ComboBoxEntryText 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_1ComboBoxEntryText.html">ComboBoxEntryText</a></div>
<h1>Gtk::ComboBoxEntryText Class Reference<br>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::ComboBoxEntryText" --><!-- doxytag: inherits="Gtk::ComboBoxEntry" -->Inheritance diagram for Gtk::ComboBoxEntryText:<p><center><img src="classGtk_1_1ComboBoxEntryText__inherit__graph.png" border="0" usemap="#Gtk_1_1ComboBoxEntryText__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1ComboBoxEntryText__inherit__map">
<area href="classGtk_1_1ComboBoxEntry.html" shape="rect" coords="157,625,312,652" alt="">
<area href="classGtk_1_1ComboBox.html" shape="rect" coords="175,548,295,575" alt="">
<area href="classGtk_1_1Bin.html" shape="rect" coords="155,471,227,497" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="120,393,232,420" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="112,316,205,343" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,265" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="8,161,101,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="59,84,184,111" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="131,161,240,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="65,7,177,33" alt="">
<area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,265" alt="">
<area href="classGtk_1_1CellLayout.html" shape="rect" coords="229,316,347,343" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1ComboBoxEntryText-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
This is a specialisation of the <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> which has one column of text (a simple list), and appropriate methods for setting and getting the text.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#9a9d9779f9ace589924a2399d35c371e">append_text</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>& text)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an item to the end of the drop-down list. <a href="#9a9d9779f9ace589924a2399d35c371e"></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_1ComboBoxEntryText.html#52e3bc91e1153c36aa046ec249880022">clear</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#6ef6dac71b28dfb8fa76cf7e64caff7f">clear_items</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all items from the drop-down menu. <a href="#6ef6dac71b28dfb8fa76cf7e64caff7f"></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_1ComboBoxEntryText.html#dd8836cb474d7d49e7e0db974678611a">ComboBoxEntryText</a> ()</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_1ComboBoxEntryText.html#1f9eb851f6a76121c81e8adac6f58011">get_active_text</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#9bf819020740e33033096aa96c81c14e">insert_text</a> (int position, 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>& text)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#72ab993ada0ce630115d7c5536f13c3b">prepend_text</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>& text)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an item to the beginning of the drop-down list. <a href="#72ab993ada0ce630115d7c5536f13c3b"></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_1ComboBoxEntryText.html#6c722ee9aa96169117c8b6b71b3e8879">remove_text</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>& text)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove the specified item if it is in the drop-down menu. <a href="#6c722ee9aa96169117c8b6b71b3e8879"></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_1ComboBoxEntryText.html#20c9a16bd0d3e8562c26a8d944747631">set_active_text</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>& text)</td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1ComboBoxEntryText_1_1TextModelColumns.html">TextModelColumns</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#ea3abc4a6da6a199555b86cca93f17e6">m_text_columns</a></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText_1_1TextModelColumns.html">TextModelColumns</a></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="dd8836cb474d7d49e7e0db974678611a"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::ComboBoxEntryText" ref="dd8836cb474d7d49e7e0db974678611a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::ComboBoxEntryText::ComboBoxEntryText </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9a9d9779f9ace589924a2399d35c371e"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::append_text" ref="9a9d9779f9ace589924a2399d35c371e" args="(const Glib::ustring &text)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ComboBoxEntryText::append_text </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>text</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Add an item to the end of the drop-down list.
<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>text</em> </td><td>The text for the item. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="52e3bc91e1153c36aa046ec249880022"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::clear" ref="52e3bc91e1153c36aa046ec249880022" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ComboBoxEntryText::clear </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd>See <a class="el" href="classGtk_1_1ComboBoxEntryText.html#6ef6dac71b28dfb8fa76cf7e64caff7f">clear_items()</a>. Since 2.8. </dd></dl>
<p>
Reimplemented from <a class="el" href="classGtk_1_1CellLayout.html#b87faf407763c4df8985ac7ff985fad8">Gtk::CellLayout</a>.
</div>
</div><p>
<a class="anchor" name="6ef6dac71b28dfb8fa76cf7e64caff7f"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::clear_items" ref="6ef6dac71b28dfb8fa76cf7e64caff7f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ComboBoxEntryText::clear_items </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Remove all items from the drop-down menu.
<p>
</div>
</div><p>
<a class="anchor" name="1f9eb851f6a76121c81e8adac6f58011"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::get_active_text" ref="1f9eb851f6a76121c81e8adac6f58011" 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::ComboBoxEntryText::get_active_text </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="9bf819020740e33033096aa96c81c14e"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::insert_text" ref="9bf819020740e33033096aa96c81c14e" args="(int position, const Glib::ustring &text)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ComboBoxEntryText::insert_text </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>position</em>, </td>
</tr>
<tr>
<td class="paramkey"></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>text</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="72ab993ada0ce630115d7c5536f13c3b"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::prepend_text" ref="72ab993ada0ce630115d7c5536f13c3b" args="(const Glib::ustring &text)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ComboBoxEntryText::prepend_text </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>text</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Add an item to the beginning of the drop-down list.
<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>text</em> </td><td>The text for the item. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="6c722ee9aa96169117c8b6b71b3e8879"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::remove_text" ref="6c722ee9aa96169117c8b6b71b3e8879" args="(const Glib::ustring &text)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ComboBoxEntryText::remove_text </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>text</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Remove the specified item if it is in the drop-down menu.
<p>
The text of the item that should be removed.
</div>
</div><p>
<a class="anchor" name="20c9a16bd0d3e8562c26a8d944747631"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::set_active_text" ref="20c9a16bd0d3e8562c26a8d944747631" args="(const Glib::ustring &text)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ComboBoxEntryText::set_active_text </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>text</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="ea3abc4a6da6a199555b86cca93f17e6"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::m_text_columns" ref="ea3abc4a6da6a199555b86cca93f17e6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1ComboBoxEntryText_1_1TextModelColumns.html">TextModelColumns</a> <a class="el" href="classGtk_1_1ComboBoxEntryText.html#ea3abc4a6da6a199555b86cca93f17e6">Gtk::ComboBoxEntryText::m_text_columns</a><code> [protected]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="comboboxentrytext_8h.html">comboboxentrytext.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>
|