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 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::ListViewText Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1ListViewText.html">ListViewText</a>
</div>
</div>
<div class="contents">
<h1>Gtk::ListViewText Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>, <a class="el" href="group__Containers.html">Container Widgets</a>, <a class="el" href="group__TreeView.html">TreeView Classes</a>]</small>
</h1><!-- doxytag: class="Gtk::ListViewText" --><!-- doxytag: inherits="Gtk::TreeView" -->
<p>A simple listbox which presents some lines of information in columns and lets the user select some of them. <a href="#_details">More...</a></p>
<p>Inherits <a class="el" href="classGtk_1_1TreeView.html">Gtk::TreeView</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::ListViewText:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1ListViewText__coll__graph.png" border="0" usemap="#Gtk_1_1ListViewText_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1ListViewText_coll__map" id="Gtk_1_1ListViewText_coll__map">
<area shape="rect" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user..." alt="" coords="1700,109,1804,139"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="1299,73,1403,103"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="944,59,1035,88"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such..." alt="" coords="648,5,736,35"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="396,5,487,35"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="163,31,283,60"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="389,59,493,88"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="5,31,112,60"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="632,59,752,88"/><area shape="rect" href="classGtk_1_1ListViewText_1_1TextModelColumns.html" title="Gtk::ListViewText::TextModelColumns" alt="" coords="1631,180,1873,209"/><area shape="rect" href="classGtk_1_1TreeModelColumnRecord.html" title="Typedefed as TreeModel::ColumnRecord." alt="" coords="1249,140,1452,169"/><area shape="rect" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html" title="std::vector\< GType \>" alt="" coords="917,140,1061,169"/><area shape="rect" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html" title="std::vector\< _Tp, _Alloc \>" alt="" coords="605,163,779,192"/><area shape="rect" href="classGtk_1_1TreeModelColumn.html" title="Gtk::TreeModelColumn\< Glib::ustring \>" alt="" coords="1227,193,1475,223"/><area shape="rect" href="classGtk_1_1TreeModelColumnBase.html" title="Base class of TreeModelColumn templates." alt="" coords="600,225,784,255"/><area shape="rect" href="classGtk_1_1TreeModelColumn.html" title="A Gtk::TreeModelColumn describes the C++ type of the data in a model column, and..." alt="" coords="896,245,1083,275"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< Gtk::ListStore \>" alt="" coords="1655,240,1849,269"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< T_CppObject \>" alt="" coords="1256,247,1445,276"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classGtk_1_1ListViewText-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText_1_1TextModelColumns.html">TextModelColumns</a></td></tr>
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">std::vector</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a1f97eb1ecf054d665dd557314853bd99">SelectionList</a></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#aba3445363e7fd986e8344b5adcc37d1e">ListViewText</a> (guint columns_count, bool editable=false, <a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">Gtk::SelectionMode</a> mode=Gtk::SELECTION_SINGLE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a6fe8de7b4c637aa0d130a6131d973382">~ListViewText</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a7e773a6335b0bf999dedfe2df55667f1">set_column_title</a> (guint column, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& title)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a title to column <em>column</em>. <a href="#a7e773a6335b0bf999dedfe2df55667f1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#ac2612f60c19125b61c4c0f76da8258ad">get_column_title</a> (guint column) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the title of column <em>column</em>. <a href="#ac2612f60c19125b61c4c0f76da8258ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a3cdeed88eaff196851646f35ecbc3bf4">append_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& column_one_value=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a new row at the end of the list. <a href="#a3cdeed88eaff196851646f35ecbc3bf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#aaf4222fd257888b89914660c11740ea1">prepend_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& column_one_value=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Insert a new row at the beginning of the list. <a href="#aaf4222fd257888b89914660c11740ea1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a9c7aa9e85ddceb4c6c3a2a1a6530e6ef">insert_text</a> (guint row, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& column_one_value=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Insert a new row at an arbitrary position in the list. <a href="#a9c7aa9e85ddceb4c6c3a2a1a6530e6ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#ad9e617ccce390aa6933a055def3139a9">clear_items</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Discard all row:. <a href="#ad9e617ccce390aa6933a055def3139a9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a4462ff598156aa5064b3f810b75f01bb">get_text</a> (guint row, guint column=0) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the value of an existing cell from the list. <a href="#a4462ff598156aa5064b3f810b75f01bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a2d4b861b95e2ab0ae103b9970b1ca9bd">set_text</a> (guint row, guint column, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Change an existing value of cell of the list. <a href="#a2d4b861b95e2ab0ae103b9970b1ca9bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a06c8b4f7c6144b1a50c22908f773b896">set_text</a> (guint row, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Change an existing value of a column 0 of a row of the list. <a href="#a06c8b4f7c6144b1a50c22908f773b896"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a97aac028c9a130b1c08d7a07dce09f08">size</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#aaf1a2f95f4909c4157fd774027c5f052">get_num_columns</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">SelectionList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a2a3d953ef7751801cbe406b19f3308ff">get_selected</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a vector of the indexes of the selected rows. <a href="#a2a3d953ef7751801cbe406b19f3308ff"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1ListStore.html">Gtk::ListStore</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a43b177deaa12148493b06918ab061699">m_model</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1ListViewText_1_1TextModelColumns.html">TextModelColumns</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ListViewText.html#a111c03fad9d8cb07d7b915c01eb64c8e">m_model_columns</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A simple listbox which presents some lines of information in columns and lets the user select some of them. </p>
<p>This is a convenience class, based on <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a>, which allows only text values and does not allow child items. In most cases you will actually need the functionality offered by a real <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a> with your own type-safe <a class="el" href="classGtk_1_1TreeModel.html#a58f10daabaa507b4c2473c9d1b6fa584">Gtk::TreeModel::ColumnRecord</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000391">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a1f97eb1ecf054d665dd557314853bd99"></a><!-- doxytag: member="Gtk::ListViewText::SelectionList" ref="a1f97eb1ecf054d665dd557314853bd99" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">std::vector</a><int> <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">Gtk::ListViewText::SelectionList</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="aba3445363e7fd986e8344b5adcc37d1e"></a><!-- doxytag: member="Gtk::ListViewText::ListViewText" ref="aba3445363e7fd986e8344b5adcc37d1e" args="(guint columns_count, bool editable=false, Gtk::SelectionMode mode=Gtk::SELECTION_SINGLE)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::ListViewText::ListViewText </td>
<td>(</td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>columns_count</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>editable</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga3e58167cfed0be4c87474c3bdca80d78">Gtk::SelectionMode</a> </td>
<td class="paramname"> <em>mode</em> = <code>Gtk::SELECTION_SINGLE</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a6fe8de7b4c637aa0d130a6131d973382"></a><!-- doxytag: member="Gtk::ListViewText::~ListViewText" ref="a6fe8de7b4c637aa0d130a6131d973382" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gtk::ListViewText::~ListViewText </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3cdeed88eaff196851646f35ecbc3bf4"></a><!-- doxytag: member="Gtk::ListViewText::append_text" ref="a3cdeed88eaff196851646f35ecbc3bf4" args="(const Glib::ustring &column_one_value=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">guint Gtk::ListViewText::append_text </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>column_one_value</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add a new row at the end of the list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>column_one_value</em> </td><td>the new text for the new row, column 0 </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of the row added </dd></dl>
</div>
</div>
<a class="anchor" id="ad9e617ccce390aa6933a055def3139a9"></a><!-- doxytag: member="Gtk::ListViewText::clear_items" ref="ad9e617ccce390aa6933a055def3139a9" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ListViewText::clear_items </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Discard all row:. </p>
</div>
</div>
<a class="anchor" id="ac2612f60c19125b61c4c0f76da8258ad"></a><!-- doxytag: member="Gtk::ListViewText::get_column_title" ref="ac2612f60c19125b61c4c0f76da8258ad" args="(guint column) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ListViewText::get_column_title </td>
<td>(</td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>column</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the title of column <em>column</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the column number. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the title of column <em>column</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="aaf1a2f95f4909c4157fd774027c5f052"></a><!-- doxytag: member="Gtk::ListViewText::get_num_columns" ref="aaf1a2f95f4909c4157fd774027c5f052" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">guint Gtk::ListViewText::get_num_columns </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of columns in the listbox </dd></dl>
</div>
</div>
<a class="anchor" id="a2a3d953ef7751801cbe406b19f3308ff"></a><!-- doxytag: member="Gtk::ListViewText::get_selected" ref="a2a3d953ef7751801cbe406b19f3308ff" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00716.html">SelectionList</a> Gtk::ListViewText::get_selected </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns a vector of the indexes of the selected rows. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a SelectionList with the selection results </dd></dl>
</div>
</div>
<a class="anchor" id="a4462ff598156aa5064b3f810b75f01bb"></a><!-- doxytag: member="Gtk::ListViewText::get_text" ref="a4462ff598156aa5064b3f810b75f01bb" args="(guint row, guint column=0) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ListViewText::get_text </td>
<td>(</td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>column</em> = <code>0</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Obtain the value of an existing cell from the list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the number of the row in the listbox. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the number of the column in the row. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value of that cell, if it exists. </dd></dl>
</div>
</div>
<a class="anchor" id="a9c7aa9e85ddceb4c6c3a2a1a6530e6ef"></a><!-- doxytag: member="Gtk::ListViewText::insert_text" ref="a9c7aa9e85ddceb4c6c3a2a1a6530e6ef" args="(guint row, const Glib::ustring &column_one_value=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ListViewText::insert_text </td>
<td>(</td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>column_one_value</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Insert a new row at an arbitrary position in the list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>The row number </td></tr>
<tr><td valign="top"></td><td valign="top"><em>column_one_value</em> </td><td>the new text for the new row, column 0 </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aaf4222fd257888b89914660c11740ea1"></a><!-- doxytag: member="Gtk::ListViewText::prepend_text" ref="aaf4222fd257888b89914660c11740ea1" args="(const Glib::ustring &column_one_value=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ListViewText::prepend_text </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>column_one_value</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Insert a new row at the beginning of the list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>column_one_value</em> </td><td>the new text for the new row, column 0 </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7e773a6335b0bf999dedfe2df55667f1"></a><!-- doxytag: member="Gtk::ListViewText::set_column_title" ref="a7e773a6335b0bf999dedfe2df55667f1" args="(guint column, const Glib::ustring &title)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ListViewText::set_column_title </td>
<td>(</td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>column</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>title</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Adds a title to column <em>column</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the column number. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>the title for column <em>column</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a06c8b4f7c6144b1a50c22908f773b896"></a><!-- doxytag: member="Gtk::ListViewText::set_text" ref="a06c8b4f7c6144b1a50c22908f773b896" args="(guint row, const Glib::ustring &value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ListViewText::set_text </td>
<td>(</td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Change an existing value of a column 0 of a row of the list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the number of the row in the list. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>the new contents of column 0 of the row. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a2d4b861b95e2ab0ae103b9970b1ca9bd"></a><!-- doxytag: member="Gtk::ListViewText::set_text" ref="a2d4b861b95e2ab0ae103b9970b1ca9bd" args="(guint row, guint column, const Glib::ustring &value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ListViewText::set_text </td>
<td>(</td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>column</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Change an existing value of cell of the list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the number of the row in the list. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>column</em> </td><td>the number of the column in the row. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>the new contents of that row and column. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a97aac028c9a130b1c08d7a07dce09f08"></a><!-- doxytag: member="Gtk::ListViewText::size" ref="a97aac028c9a130b1c08d7a07dce09f08" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">guint Gtk::ListViewText::size </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of rows in the listbox </dd></dl>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a43b177deaa12148493b06918ab061699"></a><!-- doxytag: member="Gtk::ListViewText::m_model" ref="a43b177deaa12148493b06918ab061699" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1ListStore.html">Gtk::ListStore</a>> <a class="el" href="classGtk_1_1ListViewText.html#a43b177deaa12148493b06918ab061699">Gtk::ListViewText::m_model</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a111c03fad9d8cb07d7b915c01eb64c8e"></a><!-- doxytag: member="Gtk::ListViewText::m_model_columns" ref="a111c03fad9d8cb07d7b915c01eb64c8e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1ListViewText_1_1TextModelColumns.html">TextModelColumns</a> <a class="el" href="classGtk_1_1ListViewText.html#a111c03fad9d8cb07d7b915c01eb64c8e">Gtk::ListViewText::m_model_columns</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/listviewtext.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:11 2010 for gtkmm by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|