| 12
 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
 
 | <!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::ToggleToolButton 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_1ToggleToolButton.html">ToggleToolButton</a></div>
<h1>Gtk::ToggleToolButton Class Reference<br>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::ToggleToolButton" --><!-- doxytag: inherits="Gtk::ToolButton" -->Inheritance diagram for Gtk::ToggleToolButton:<p><center><img src="classGtk_1_1ToggleToolButton__inherit__graph.png" border="0" usemap="#Gtk_1_1ToggleToolButton__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1ToggleToolButton__inherit__map">
<area href="classGtk_1_1RadioToolButton.html" shape="rect" coords="40,780,195,806" alt="">
<area href="classGtk_1_1ToolButton.html" shape="rect" coords="57,625,177,652" alt="">
<area href="classGtk_1_1ToolItem.html" shape="rect" coords="65,548,169,574" alt="">
<area href="classGtk_1_1Bin.html" shape="rect" coords="81,470,153,497" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="61,393,173,420" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="71,316,164,342" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="5,238,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="7,161,100,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="53,84,179,110" 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="128,161,237,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="60,6,172,33" alt="">
<area href="classAtk_1_1Implementor.html" shape="rect" coords="120,238,251,265" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1ToggleToolButton-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> containing a toggle button. 
<p>
A <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> is a <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> that contains a toggle button.<p>
A <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> widget looks like this: <div align="center">
<img src="toggletoolbutton1.png" alt="toggletoolbutton1.png">
</div>
 
<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">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleToolButton.html#fb559cdce8f97c4725e32d7f05e45d8a">get_active</a> () const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Queries a <a class="el" href="classGtk_1_1ToggleToolButton.html">Gtk::ToggleToolButton</a> and returns its current state.  <a href="#fb559cdce8f97c4725e32d7f05e45d8a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkToggleToolButton* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleToolButton.html#ddcc19803d3eb8026302b63c0be86b89">gobj</a> () const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#ddcc19803d3eb8026302b63c0be86b89"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkToggleToolButton* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleToolButton.html#9826ae502d32b3f6ef07972172bc1296">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#9826ae502d32b3f6ef07972172bc1296"></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_1ToggleToolButton.html#b1704b77fd0bbde1d8e6cf3818c750a8">set_active</a> (bool is_active=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the status of the toggle tool button.  <a href="#b1704b77fd0bbde1d8e6cf3818c750a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleToolButton.html#656d6699e722f343a3d0599951190078">signal_toggled</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_toggled()</code> </dd></dl>
 <a href="#656d6699e722f343a3d0599951190078"></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_1ToggleToolButton.html#e3d37f4d91093f86a24415a5a5da5570">ToggleToolButton</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& icon_widget, 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>& label=<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></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> with an image.  <a href="#e3d37f4d91093f86a24415a5a5da5570"></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_1ToggleToolButton.html#eaedbe559ff1d257b5ed26027213da5f">ToggleToolButton</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>& label)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> with a label.  <a href="#eaedbe559ff1d257b5ed26027213da5f"></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_1ToggleToolButton.html#74c380a2de7ea6ed29299f233e30314b">ToggleToolButton</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> from a <a class="el" href="classGtk_1_1StockID.html">StockID</a>.  <a href="#74c380a2de7ea6ed29299f233e30314b"></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_1ToggleToolButton.html#0254c1286f800d5e7d7630005081e443">ToggleToolButton</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a>.  <a href="#0254c1286f800d5e7d7630005081e443"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleToolButton.html#fbf46342ea49274e3277cf536693ebb8">~ToggleToolButton</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleToolButton.html#d4606040c0bbbb8a9353c2cff7a2f0ef">on_toggled</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1ToggleToolButton.html">Gtk::ToggleToolButton</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleToolButton.html#8db6fb242327dc215d018582e0609966">wrap</a> (GtkToggleToolButton* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#8db6fb242327dc215d018582e0609966"></a><br></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="fbf46342ea49274e3277cf536693ebb8"></a><!-- doxytag: member="Gtk::ToggleToolButton::~ToggleToolButton" ref="fbf46342ea49274e3277cf536693ebb8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::ToggleToolButton::~ToggleToolButton           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td> ) </td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="0254c1286f800d5e7d7630005081e443"></a><!-- doxytag: member="Gtk::ToggleToolButton::ToggleToolButton" ref="0254c1286f800d5e7d7630005081e443" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToggleToolButton::ToggleToolButton           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td> ) </td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a>. 
<p>
</div>
</div><p>
<a class="anchor" name="74c380a2de7ea6ed29299f233e30314b"></a><!-- doxytag: member="Gtk::ToggleToolButton::ToggleToolButton" ref="74c380a2de7ea6ed29299f233e30314b" args="(const Gtk::StockID &stock_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToggleToolButton::ToggleToolButton           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td>
          <td class="paramname"> <em>stock_id</em>          </td>
          <td> ) </td>
          <td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> from a <a class="el" href="classGtk_1_1StockID.html">StockID</a>. 
<p>
The <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> will be created according to the <em>stock_id</em> properties.<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>stock_id</em> </td><td>The <a class="el" href="classGtk_1_1StockID.html">StockID</a> which determines the look of the <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a>. </td></tr>
  </table>
</dl>
</div>
</div><p>
<a class="anchor" name="eaedbe559ff1d257b5ed26027213da5f"></a><!-- doxytag: member="Gtk::ToggleToolButton::ToggleToolButton" ref="eaedbe559ff1d257b5ed26027213da5f" args="(const Glib::ustring &label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToggleToolButton::ToggleToolButton           </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>label</em>          </td>
          <td> ) </td>
          <td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> with a label. 
<p>
The <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> will have the label <em>label</em>.<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>label</em> </td><td>The string used to display the label for this <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a>. </td></tr>
  </table>
</dl>
</div>
</div><p>
<a class="anchor" name="e3d37f4d91093f86a24415a5a5da5570"></a><!-- doxytag: member="Gtk::ToggleToolButton::ToggleToolButton" ref="e3d37f4d91093f86a24415a5a5da5570" args="(Widget &icon_widget, const Glib::ustring &label=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToggleToolButton::ToggleToolButton           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>& </td>
          <td class="paramname"> <em>icon_widget</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>label</em> = <code><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>()</code></td><td> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Creates a new <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> with an image. 
<p>
The <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a> will have the label <em>label</em> and an image widget <em>icon_widget</em>.<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>icon_widget</em> </td><td>The widget placed as the ToggleToolButton's icon. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em> </td><td>The string used to display the label for this <a class="el" href="classGtk_1_1ToggleToolButton.html">ToggleToolButton</a>. </td></tr>
  </table>
</dl>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="fb559cdce8f97c4725e32d7f05e45d8a"></a><!-- doxytag: member="Gtk::ToggleToolButton::get_active" ref="fb559cdce8f97c4725e32d7f05e45d8a" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::ToggleToolButton::get_active           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td> ) </td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Queries a <a class="el" href="classGtk_1_1ToggleToolButton.html">Gtk::ToggleToolButton</a> and returns its current state. 
<p>
Return value: <code>true</code> if the toggle tool button is pressed in, <code>false</code> if not <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the toggle tool button is pressed in, <code>false</code> if not</dd></dl>
<dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000242">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
</div>
</div><p>
<a class="anchor" name="ddcc19803d3eb8026302b63c0be86b89"></a><!-- doxytag: member="Gtk::ToggleToolButton::gobj" ref="ddcc19803d3eb8026302b63c0be86b89" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkToggleToolButton* Gtk::ToggleToolButton::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td> ) </td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Provides access to the underlying C GtkObject. 
<p>
<p>
Reimplemented from <a class="el" href="classGtk_1_1ToolButton.html#aa8e7fb3b4bf55ed49fb7ccc72527204">Gtk::ToolButton</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1RadioToolButton.html#5d13d062f41d851670b64b119b1dbdde">Gtk::RadioToolButton</a>.
</div>
</div><p>
<a class="anchor" name="9826ae502d32b3f6ef07972172bc1296"></a><!-- doxytag: member="Gtk::ToggleToolButton::gobj" ref="9826ae502d32b3f6ef07972172bc1296" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkToggleToolButton* Gtk::ToggleToolButton::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td> ) </td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Provides access to the underlying C GtkObject. 
<p>
<p>
Reimplemented from <a class="el" href="classGtk_1_1ToolButton.html#451fe61a9536f6eb5e55e70ba79eaeea">Gtk::ToolButton</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1RadioToolButton.html#7508ede2d8cda64545c0c1511db8333d">Gtk::RadioToolButton</a>.
</div>
</div><p>
<a class="anchor" name="d4606040c0bbbb8a9353c2cff7a2f0ef"></a><!-- doxytag: member="Gtk::ToggleToolButton::on_toggled" ref="d4606040c0bbbb8a9353c2cff7a2f0ef" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::ToggleToolButton::on_toggled           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td> ) </td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b1704b77fd0bbde1d8e6cf3818c750a8"></a><!-- doxytag: member="Gtk::ToggleToolButton::set_active" ref="b1704b77fd0bbde1d8e6cf3818c750a8" args="(bool is_active=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToggleToolButton::set_active           </td>
          <td>(</td>
          <td class="paramtype">bool </td>
          <td class="paramname"> <em>is_active</em> = <code>true</code>          </td>
          <td> ) </td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
Sets the status of the toggle tool button. 
<p>
Set to <code>true</code> if you want the GtkToggleButton to be 'pressed in', and <code>false</code> to raise it. This action causes the toggled signal to be emitted.<p>
<dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000241">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>is_active</em> </td><td>Whether <em>button</em> should be active. </td></tr>
  </table>
</dl>
</div>
</div><p>
<a class="anchor" name="656d6699e722f343a3d0599951190078"></a><!-- doxytag: member="Gtk::ToggleToolButton::signal_toggled" ref="656d6699e722f343a3d0599951190078" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Gtk::ToggleToolButton::signal_toggled           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td> ) </td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_toggled()</code> </dd></dl>
<p>
</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="8db6fb242327dc215d018582e0609966"></a><!-- doxytag: member="Gtk::ToggleToolButton::wrap" ref="8db6fb242327dc215d018582e0609966" args="(GtkToggleToolButton *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1ToggleToolButton.html">Gtk::ToggleToolButton</a>* wrap           </td>
          <td>(</td>
          <td class="paramtype">GtkToggleToolButton * </td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>
A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="toggletoolbutton_8h.html">toggletoolbutton.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>
 |