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 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581
|
<!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::CellRendererToggle 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_1CellRendererToggle.html">CellRendererToggle</a>
</div>
</div>
<div class="contents">
<h1>Gtk::CellRendererToggle Class Reference<br/>
<small>
[<a class="el" href="group__TreeView.html">TreeView Classes</a>]</small>
</h1><!-- doxytag: class="Gtk::CellRendererToggle" --><!-- doxytag: inherits="Gtk::CellRenderer" -->
<p>Renders a toggle button in a cell. <a href="#_details">More...</a></p>
<p>Inherits <a class="el" href="classGtk_1_1CellRenderer.html">Gtk::CellRenderer</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::CellRendererToggle:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1CellRendererToggle__coll__graph.png" border="0" usemap="#Gtk_1_1CellRendererToggle_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1CellRendererToggle_coll__map" id="Gtk_1_1CellRendererToggle_coll__map">
<area shape="rect" href="classGtk_1_1CellRenderer.html" title="CellRenderers are used by Gtk::TreeView columns to render the Gtk::TreeModel column..." alt="" coords="25,315,148,344"/><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="43,237,131,267"/><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="41,160,132,189"/><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="27,83,147,112"/><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="33,5,140,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classGtk_1_1CellRendererToggle-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a5e51e3279effb74ff63c34dd917ad552">~CellRendererToggle</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkCellRendererToggle* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a8fe0299e4a6bd59dcb77014f363c0e6d">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a8fe0299e4a6bd59dcb77014f363c0e6d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkCellRendererToggle* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a7c3921a14eefd3036629cb305b8ce0a6">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a7c3921a14eefd3036629cb305b8ce0a6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a8673a65fd695726d0f66b2cdd4074441">CellRendererToggle</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#acc736bccf0bfdb530b7f9bf4d7f3cdeb">get_radio</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether we're rendering radio toggles rather than checkboxes. <a href="#acc736bccf0bfdb530b7f9bf4d7f3cdeb"></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_1CellRendererToggle.html#ae4a9d4381241c8de098e07b40b8dc5b1">set_radio</a> (bool radio=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">If <em>radio</em> is <code>true</code>, the cell renderer renders a radio toggle (i.e. a toggle in a group of mutually-exclusive toggles). <a href="#ae4a9d4381241c8de098e07b40b8dc5b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a80dbc696338fbd10f3a8bf4b884ea816">get_active</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the cell renderer is active. <a href="#a80dbc696338fbd10f3a8bf4b884ea816"></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_1CellRendererToggle.html#af966fe3feb0fc29b29215581178741c1">set_active</a> (bool setting=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Activates or deactivates a cell renderer. <a href="#af966fe3feb0fc29b29215581178741c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a0fd33cd80b441a224824b2e2d351d09f">get_activatable</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the cell renderer is activatable. <a href="#a0fd33cd80b441a224824b2e2d351d09f"></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_1CellRendererToggle.html#ad8116336e5ca69f217de49dddff4c02e">set_activatable</a> (bool setting=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Makes the cell renderer activatable. <a href="#ad8116336e5ca69f217de49dddff4c02e"></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_1SignalProxy1.html">Glib::SignalProxy1</a>< void, <br class="typebreak"/>
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="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a0332ce9231ca8d0694f7f1e1b2350bf4">signal_toggled</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The toggled signal is emitted when the cell is toggled. <a href="#a0332ce9231ca8d0694f7f1e1b2350bf4"></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_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a54b5555071e089538e53612da7092d13">property_activatable</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The toggle button can be activated. <a href="#a54b5555071e089538e53612da7092d13"></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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a6251444ee793dc9ee61382e30efcc91e">property_activatable</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The toggle button can be activated. <a href="#a6251444ee793dc9ee61382e30efcc91e"></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_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a79d25c3bc6368b2480ac5481f146c2c0">property_active</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The toggle state of the button. <a href="#a79d25c3bc6368b2480ac5481f146c2c0"></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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a152a2fde99e3d194edca2288eb90cbd5">property_active</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The toggle state of the button. <a href="#a152a2fde99e3d194edca2288eb90cbd5"></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_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a6472ea6ca1f61f49490fc76a6d401dd0">property_radio</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draw the toggle button as a radio button. <a href="#a6472ea6ca1f61f49490fc76a6d401dd0"></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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a177d8cccaa02e0e059dfe19f89e19890">property_radio</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draw the toggle button as a radio button. <a href="#a177d8cccaa02e0e059dfe19f89e19890"></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_1PropertyProxy.html">Glib::PropertyProxy</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a91c26d42e23646577dfcc39b5d4ed61a">property_indicator_size</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Size of check or radio indicator. <a href="#a91c26d42e23646577dfcc39b5d4ed61a"></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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a6408776160b14c0e01c10b00d4d41954">property_indicator_size</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Size of check or radio indicator. <a href="#a6408776160b14c0e01c10b00d4d41954"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a3ceb06aacbca353ecbc6b6faef2e155f">on_toggled</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>& path)</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1CellRendererToggle.html">Gtk::CellRendererToggle</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1CellRendererToggle.html#a789e9a66d8a408a6c14855db42dd2d36">wrap</a> (GtkCellRendererToggle* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a789e9a66d8a408a6c14855db42dd2d36"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Renders a toggle button in a cell. </p>
<p>The button is drawn as a radio- or checkbutton, depending on the radio property. When activated, it emits the toggled signal. </p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a5e51e3279effb74ff63c34dd917ad552"></a><!-- doxytag: member="Gtk::CellRendererToggle::~CellRendererToggle" ref="a5e51e3279effb74ff63c34dd917ad552" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gtk::CellRendererToggle::~CellRendererToggle </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a8673a65fd695726d0f66b2cdd4074441"></a><!-- doxytag: member="Gtk::CellRendererToggle::CellRendererToggle" ref="a8673a65fd695726d0f66b2cdd4074441" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::CellRendererToggle::CellRendererToggle </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0fd33cd80b441a224824b2e2d351d09f"></a><!-- doxytag: member="Gtk::CellRendererToggle::get_activatable" ref="a0fd33cd80b441a224824b2e2d351d09f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::CellRendererToggle::get_activatable </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether the cell renderer is activatable. </p>
<p>See <a class="el" href="classGtk_1_1CellRendererToggle.html#ad8116336e5ca69f217de49dddff4c02e" title="Makes the cell renderer activatable.">set_activatable()</a>.</p>
<dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000020">Since gtkmm 2.18:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the cell renderer is activatable. </dd></dl>
</div>
</div>
<a class="anchor" id="a80dbc696338fbd10f3a8bf4b884ea816"></a><!-- doxytag: member="Gtk::CellRendererToggle::get_active" ref="a80dbc696338fbd10f3a8bf4b884ea816" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::CellRendererToggle::get_active </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether the cell renderer is active. </p>
<p>See <a class="el" href="classGtk_1_1CellRendererToggle.html#af966fe3feb0fc29b29215581178741c1" title="Activates or deactivates a cell renderer.">set_active()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the cell renderer is active. </dd></dl>
</div>
</div>
<a class="anchor" id="acc736bccf0bfdb530b7f9bf4d7f3cdeb"></a><!-- doxytag: member="Gtk::CellRendererToggle::get_radio" ref="acc736bccf0bfdb530b7f9bf4d7f3cdeb" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::CellRendererToggle::get_radio </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether we're rendering radio toggles rather than checkboxes. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if we're rendering radio toggles rather than checkboxes. </dd></dl>
</div>
</div>
<a class="anchor" id="a7c3921a14eefd3036629cb305b8ce0a6"></a><!-- doxytag: member="Gtk::CellRendererToggle::gobj" ref="a7c3921a14eefd3036629cb305b8ce0a6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GtkCellRendererToggle* Gtk::CellRendererToggle::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> 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_1CellRenderer.html#a8405f042907b039b6bd78882f4bdf8e7">Gtk::CellRenderer</a>.</p>
</div>
</div>
<a class="anchor" id="a8fe0299e4a6bd59dcb77014f363c0e6d"></a><!-- doxytag: member="Gtk::CellRendererToggle::gobj" ref="a8fe0299e4a6bd59dcb77014f363c0e6d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkCellRendererToggle* Gtk::CellRendererToggle::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><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_1CellRenderer.html#ae40a869d68ddeb2601ed46c955514688">Gtk::CellRenderer</a>.</p>
</div>
</div>
<a class="anchor" id="a3ceb06aacbca353ecbc6b6faef2e155f"></a><!-- doxytag: member="Gtk::CellRendererToggle::on_toggled" ref="a3ceb06aacbca353ecbc6b6faef2e155f" args="(const Glib::ustring &path)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Gtk::CellRendererToggle::on_toggled </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>path</em></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a6251444ee793dc9ee61382e30efcc91e"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_activatable" ref="a6251444ee793dc9ee61382e30efcc91e" args="() 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::CellRendererToggle::property_activatable </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The toggle button can be activated. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="a54b5555071e089538e53612da7092d13"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_activatable" ref="a54b5555071e089538e53612da7092d13" 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_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::CellRendererToggle::property_activatable </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The toggle button can be activated. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="a152a2fde99e3d194edca2288eb90cbd5"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_active" ref="a152a2fde99e3d194edca2288eb90cbd5" args="() 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::CellRendererToggle::property_active </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The toggle state of the button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="a79d25c3bc6368b2480ac5481f146c2c0"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_active" ref="a79d25c3bc6368b2480ac5481f146c2c0" 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_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::CellRendererToggle::property_active </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The toggle state of the button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="a6408776160b14c0e01c10b00d4d41954"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_indicator_size" ref="a6408776160b14c0e01c10b00d4d41954" args="() 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::CellRendererToggle::property_indicator_size </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Size of check or radio indicator. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="a91c26d42e23646577dfcc39b5d4ed61a"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_indicator_size" ref="a91c26d42e23646577dfcc39b5d4ed61a" 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_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::CellRendererToggle::property_indicator_size </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Size of check or radio indicator. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="a177d8cccaa02e0e059dfe19f89e19890"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_radio" ref="a177d8cccaa02e0e059dfe19f89e19890" args="() 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::CellRendererToggle::property_radio </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draw the toggle button as a radio button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="a6472ea6ca1f61f49490fc76a6d401dd0"></a><!-- doxytag: member="Gtk::CellRendererToggle::property_radio" ref="a6472ea6ca1f61f49490fc76a6d401dd0" 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_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::CellRendererToggle::property_radio </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draw the toggle button as a radio button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><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>
<a class="anchor" id="ad8116336e5ca69f217de49dddff4c02e"></a><!-- doxytag: member="Gtk::CellRendererToggle::set_activatable" ref="ad8116336e5ca69f217de49dddff4c02e" args="(bool setting=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::CellRendererToggle::set_activatable </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>setting</em> = <code>true</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Makes the cell renderer activatable. </p>
<dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000021">Since gtkmm 2.18:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>setting</em> </td><td>The value to set. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af966fe3feb0fc29b29215581178741c1"></a><!-- doxytag: member="Gtk::CellRendererToggle::set_active" ref="af966fe3feb0fc29b29215581178741c1" args="(bool setting=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::CellRendererToggle::set_active </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>setting</em> = <code>true</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Activates or deactivates a cell renderer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>setting</em> </td><td>The value to set. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae4a9d4381241c8de098e07b40b8dc5b1"></a><!-- doxytag: member="Gtk::CellRendererToggle::set_radio" ref="ae4a9d4381241c8de098e07b40b8dc5b1" args="(bool radio=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::CellRendererToggle::set_radio </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>radio</em> = <code>true</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>radio</em> is <code>true</code>, the cell renderer renders a radio toggle (i.e. a toggle in a group of mutually-exclusive toggles). </p>
<p>If <code>false</code>, it renders a check toggle (a standalone boolean option). This can be set globally for the cell renderer, or changed just before rendering each cell in the model (for <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>, you set up a per-row setting using <a class="el" href="classGtk_1_1TreeViewColumn.html" title="Typedefed as Gtk::TreeView::Column.">Gtk::TreeViewColumn</a> to associate model columns with cell renderer properties). </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>radio</em> </td><td><code>true</code> to make the toggle look like a radio button. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0332ce9231ca8d0694f7f1e1b2350bf4"></a><!-- doxytag: member="Gtk::CellRendererToggle::signal_toggled" ref="a0332ce9231ca8d0694f7f1e1b2350bf4" 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_1SignalProxy1.html">Glib::SignalProxy1</a>< void,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>& > Gtk::CellRendererToggle::signal_toggled </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The toggled signal is emitted when the cell is toggled. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>path</em> </td><td>string representation of <a class="el" href="classGtk_1_1TreePath.html" title="A path is essentially a potential node.">TreePath</a> describing the event location</td></tr>
</table>
</dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_toggled(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>& path)</code> </dd></dl>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a789e9a66d8a408a6c14855db42dd2d36"></a><!-- doxytag: member="Gtk::CellRendererToggle::wrap" ref="a789e9a66d8a408a6c14855db42dd2d36" args="(GtkCellRendererToggle *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1CellRendererToggle.html">Gtk::CellRendererToggle</a>* wrap </td>
<td>(</td>
<td class="paramtype">GtkCellRendererToggle * </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><code> [related]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><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>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/cellrenderertoggle.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:48 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>
|