File: classGtk_1_1ToolButton.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (948 lines) | stat: -rw-r--r-- 67,625 bytes parent folder | download
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
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
<!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::ToolButton 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1ToolButton.html">ToolButton</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::ToolButton Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::ToolButton" --><!-- doxytag: inherits="Gtk::ToolItem" -->
<p>A <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> subclass that displays buttons. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1MenuToolButton.html">Gtk::MenuToolButton</a>, and <a class="el" href="classGtk_1_1ToggleToolButton.html">Gtk::ToggleToolButton</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::ToolButton:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1ToolButton__coll__graph.png" border="0" usemap="#Gtk_1_1ToolButton_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1ToolButton_coll__map" id="Gtk_1_1ToolButton_coll__map">
<area shape="rect" href="classGtk_1_1ToolItem.html" title="Gtk::ToolItem" alt="" coords="64,547,163,576"/><area shape="rect" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="79,469,148,499"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,392,165,421"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,315,159,344"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such..." alt="" coords="5,237,93,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="5,160,96,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="51,83,171,112"/><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="123,160,227,189"/><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="57,5,164,35"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1ToolButton-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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#afe18f223ac09d1fb209af5b988f4232d">~ToolButton</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkToolButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a451fe61a9536f6eb5e55e70ba79eaeea">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a451fe61a9536f6eb5e55e70ba79eaeea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkToolButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a4a54eeeeeff0a72d2d3b1cc6db6e7350">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a4a54eeeeeff0a72d2d3b1cc6db6e7350"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ac8fb76bfd4b8e3bed4776919426be413">ToolButton</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. <a href="#ac8fb76bfd4b8e3bed4776919426be413"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a29d91617340b3443377b3fc370b66c36">ToolButton</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp; stock_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> from a <a class="el" href="classGtk_1_1StockID.html" title="See also Gtk::BuiltinStockID.">StockID</a>. <a href="#a29d91617340b3443377b3fc370b66c36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a9038380ec0968afa70bbd524530306cb">ToolButton</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>&amp; label)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with a label. <a href="#a9038380ec0968afa70bbd524530306cb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#af1ccb8b60b863d457eabc9906b6d7088">ToolButton</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; icon_widget, 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>&amp; label=<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">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with an image. <a href="#af1ccb8b60b863d457eabc9906b6d7088"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a9efe83b5048f641fdd35921e72ccb2f5">set_label</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>&amp; label)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>label</em> as the label used for the tool button. <a href="#a9efe83b5048f641fdd35921e72ccb2f5"></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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#aeb79cc4191f6a5b4ea834be51364246f">get_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the label used by the tool button, or <code>0</code> if the tool button doesn't have a label. <a href="#aeb79cc4191f6a5b4ea834be51364246f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a149c499f50a89eb0554af47e7fe9a97d">set_use_underline</a> (bool use_underline=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. <a href="#a149c499f50a89eb0554af47e7fe9a97d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a2d99a8bf8876840fe4047aa81ca735d5">get_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether underscores in the label property are used as mnemonics on menu items on the overflow menu. <a href="#a2d99a8bf8876840fe4047aa81ca735d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a3b236df95154efee1396035b623fa28e">set_stock_id</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp; stock_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of the stock item. <a href="#a3b236df95154efee1396035b623fa28e"></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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ad7577160d891c56b1469d79c8af765e5">get_stock_id</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the stock item. <a href="#ad7577160d891c56b1469d79c8af765e5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a3c3b6b2fd0a64f9cf219bab69f12d4f9">set_icon_name</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>&amp; icon_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the icon for the tool button from a named themed icon. <a href="#a3c3b6b2fd0a64f9cf219bab69f12d4f9"></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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#afc2a23990123a89c12d2268a9975a13f">get_icon_name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the themed icon for the tool button, see <a class="el" href="classGtk_1_1ToolButton.html#a3c3b6b2fd0a64f9cf219bab69f12d4f9" title="Sets the icon for the tool button from a named themed icon.">set_icon_name()</a>. <a href="#afc2a23990123a89c12d2268a9975a13f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ab809b19b75cee54a2fc4b904f9a591e1">set_icon_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; icon_widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>icon</em> as the widget used as icon on <em>button</em>. <a href="#ab809b19b75cee54a2fc4b904f9a591e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ae3750678c98bab7a24eaa3c5928aea6a">get_icon_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the widget used as icon widget on <em>button</em>. <a href="#ae3750678c98bab7a24eaa3c5928aea6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a1cb89d34809c740a57f26c5b54881b9f">get_icon_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the widget used as icon widget on <em>button</em>. <a href="#a1cb89d34809c740a57f26c5b54881b9f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#aaadad39193ddfe3f23524ae889c8b9ad">set_label_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; label_widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>label_widget</em> as the widget that will be used as the label for <em>button</em>. <a href="#aaadad39193ddfe3f23524ae889c8b9ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a9f23282892f0030fb5751c81a454a185">get_label_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the widget used as label on <em>button</em>. <a href="#a9f23282892f0030fb5751c81a454a185"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ad7de10f30377391e0f680bc51dabca7b">get_label_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the widget used as label on <em>button</em>. <a href="#ad7de10f30377391e0f680bc51dabca7b"></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_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ae915a27bf5f180e8998b7063565a8cac">signal_clicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when the tool button is clicked with the mouse or activated with the keyboard. <a href="#ae915a27bf5f180e8998b7063565a8cac"></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><br class="typebreak"/>
&lt; <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> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a79074bc5fd26254b29aec0c1db3c94c0">property_label</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text to show in the item. <a href="#a79074bc5fd26254b29aec0c1db3c94c0"></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"/>
&lt; <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> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a533fb1a269ed4edaeff0bc51daf7b90a">property_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text to show in the item. <a href="#a533fb1a269ed4edaeff0bc51daf7b90a"></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>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#abf128e10685694a77eddae41fdb70cdd">property_use_underline</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#abf128e10685694a77eddae41fdb70cdd"></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"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ab69d0b602054b327af1af710d316ac36">property_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#ab69d0b602054b327af1af710d316ac36"></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><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a2b7c0f2cc33d11c2f7b2826c947e5ab8">property_label_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. <a href="#a2b7c0f2cc33d11c2f7b2826c947e5ab8"></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"/>
&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a119dffab286a978e8f1d96ada9750c0b">property_label_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. <a href="#a119dffab286a978e8f1d96ada9750c0b"></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><br class="typebreak"/>
&lt; <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> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ab861ed50a3a364e96966cf3db60c8adb">property_stock_id</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The stock icon displayed on the item. <a href="#ab861ed50a3a364e96966cf3db60c8adb"></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"/>
&lt; <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> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a123caabea9980427cce3f9fb3414a941">property_stock_id</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The stock icon displayed on the item. <a href="#a123caabea9980427cce3f9fb3414a941"></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>&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#af145e00d59e9e10a6f8f037de23e435f">property_icon_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Icon widget to display in the item. <a href="#af145e00d59e9e10a6f8f037de23e435f"></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"/>
&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a1437368e64967f500a19c6e81f4eaad0">property_icon_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Icon widget to display in the item. <a href="#a1437368e64967f500a19c6e81f4eaad0"></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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a1a56d0f2dd67d8651b03d7c9d3b1c40b">on_clicked</a> ()</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_1ToolButton.html">Gtk::ToolButton</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a5b2cedbe514fc9cefa5d8e325c1b2287">wrap</a> (GtkToolButton* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a5b2cedbe514fc9cefa5d8e325c1b2287"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> subclass that displays buttons. </p>
<p>A <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> is are <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> containing a button. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afe18f223ac09d1fb209af5b988f4232d"></a><!-- doxytag: member="Gtk::ToolButton::~ToolButton" ref="afe18f223ac09d1fb209af5b988f4232d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::ToolButton::~ToolButton </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac8fb76bfd4b8e3bed4776919426be413"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="ac8fb76bfd4b8e3bed4776919426be413" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </p>

</div>
</div>
<a class="anchor" id="a29d91617340b3443377b3fc370b66c36"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="a29d91617340b3443377b3fc370b66c36" args="(const Gtk::StockID &amp;stock_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp;&#160;</td>
          <td class="paramname"> <em>stock_id</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> from a <a class="el" href="classGtk_1_1StockID.html" title="See also Gtk::BuiltinStockID.">StockID</a>. </p>
<p>The <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> will be created according to the <em>stock_id</em> 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>stock_id</em>&#160;</td><td>The <a class="el" href="classGtk_1_1StockID.html" title="See also Gtk::BuiltinStockID.">StockID</a> which determines the look of the <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9038380ec0968afa70bbd524530306cb"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="a9038380ec0968afa70bbd524530306cb" args="(const Glib::ustring &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </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> &amp;&#160;</td>
          <td class="paramname"> <em>label</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with a label. </p>
<p>The <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> will have the label <em>label</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>label</em>&#160;</td><td>The string used to display the label for this <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af1ccb8b60b863d457eabc9906b6d7088"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="af1ccb8b60b863d457eabc9906b6d7088" args="(Widget &amp;icon_widget, const Glib::ustring &amp;label=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</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-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> &amp;&#160;</td>
          <td class="paramname"> <em>label</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>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with an image. </p>
<p>The <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> will have the label <em>label</em> and an image widget <em>icon_widget</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>icon_widget</em>&#160;</td><td>The widget placed as the ToolButton's icon. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The string used to display the label for this <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afc2a23990123a89c12d2268a9975a13f"></a><!-- doxytag: member="Gtk::ToolButton::get_icon_name" ref="afc2a23990123a89c12d2268a9975a13f" 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_1ustring.html">Glib::ustring</a> Gtk::ToolButton::get_icon_name </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name of the themed icon for the tool button, see <a class="el" href="classGtk_1_1ToolButton.html#a3c3b6b2fd0a64f9cf219bab69f12d4f9" title="Sets the icon for the tool button from a named themed icon.">set_icon_name()</a>. </p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000045">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The icon name or <code>0</code> if the tool button has no themed icon. </dd></dl>

</div>
</div>
<a class="anchor" id="a1cb89d34809c740a57f26c5b54881b9f"></a><!-- doxytag: member="Gtk::ToolButton::get_icon_widget" ref="a1cb89d34809c740a57f26c5b54881b9f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the widget used as icon widget on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#ab809b19b75cee54a2fc4b904f9a591e1" title="Sets icon as the widget used as icon on button.">set_icon_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000267">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as icon on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ae3750678c98bab7a24eaa3c5928aea6a"></a><!-- doxytag: member="Gtk::ToolButton::get_icon_widget" ref="ae3750678c98bab7a24eaa3c5928aea6a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the widget used as icon widget on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#ab809b19b75cee54a2fc4b904f9a591e1" title="Sets icon as the widget used as icon on button.">set_icon_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000266">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as icon on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="aeb79cc4191f6a5b4ea834be51364246f"></a><!-- doxytag: member="Gtk::ToolButton::get_label" ref="aeb79cc4191f6a5b4ea834be51364246f" 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_1ustring.html">Glib::ustring</a> Gtk::ToolButton::get_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the label used by the tool button, or <code>0</code> if the tool button doesn't have a label. </p>
<p>or uses a the label from a stock item. The returned string is owned by GTK+, and must not be modified or freed.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000260">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The label, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ad7de10f30377391e0f680bc51dabca7b"></a><!-- doxytag: member="Gtk::ToolButton::get_label_widget" ref="ad7de10f30377391e0f680bc51dabca7b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the widget used as label on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#aaadad39193ddfe3f23524ae889c8b9ad" title="Sets label_widget as the widget that will be used as the label for button.">set_label_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000270">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as label on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a9f23282892f0030fb5751c81a454a185"></a><!-- doxytag: member="Gtk::ToolButton::get_label_widget" ref="a9f23282892f0030fb5751c81a454a185" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the widget used as label on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#aaadad39193ddfe3f23524ae889c8b9ad" title="Sets label_widget as the widget that will be used as the label for button.">set_label_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000269">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as label on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ad7577160d891c56b1469d79c8af765e5"></a><!-- doxytag: member="Gtk::ToolButton::get_stock_id" ref="ad7577160d891c56b1469d79c8af765e5" 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_1ustring.html">Glib::ustring</a> Gtk::ToolButton::get_stock_id </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name of the stock item. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#a3b236df95154efee1396035b623fa28e" title="Sets the name of the stock item.">set_stock_id()</a>. The returned string is owned by GTK+ and must not be freed or modifed.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000264">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The name of the stock item for <em>button</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a2d99a8bf8876840fe4047aa81ca735d5"></a><!-- doxytag: member="Gtk::ToolButton::get_use_underline" ref="a2d99a8bf8876840fe4047aa81ca735d5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::ToolButton::get_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether underscores in the label property are used as mnemonics on menu items on the overflow menu. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#a149c499f50a89eb0554af47e7fe9a97d" title="If set, an underline in the label property indicates that the next character should...">set_use_underline()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000262">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if underscores in the label property are used as mnemonics on menu items on the overflow menu. </dd></dl>

</div>
</div>
<a class="anchor" id="a4a54eeeeeff0a72d2d3b1cc6db6e7350"></a><!-- doxytag: member="Gtk::ToolButton::gobj" ref="a4a54eeeeeff0a72d2d3b1cc6db6e7350" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkToolButton* Gtk::ToolButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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_1ToolItem.html#a956e41fdb82ef7abc0651f26c57274dd">Gtk::ToolItem</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1MenuToolButton.html#a8f6c8dc97c8977b75b37a8160bbb8a55">Gtk::MenuToolButton</a>, <a class="el" href="classGtk_1_1RadioToolButton.html#aa0b9bd1858a09e71d8405fc188b0e4dc">Gtk::RadioToolButton</a>, and <a class="el" href="classGtk_1_1ToggleToolButton.html#a54b7be9878cfa076d1060beffd018e51">Gtk::ToggleToolButton</a>.</p>

</div>
</div>
<a class="anchor" id="a451fe61a9536f6eb5e55e70ba79eaeea"></a><!-- doxytag: member="Gtk::ToolButton::gobj" ref="a451fe61a9536f6eb5e55e70ba79eaeea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkToolButton* Gtk::ToolButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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_1ToolItem.html#a14a91aa75fdf0d7377288f407f80ef79">Gtk::ToolItem</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1MenuToolButton.html#a6d5506c273ce86a54862ba3b70758b47">Gtk::MenuToolButton</a>, <a class="el" href="classGtk_1_1RadioToolButton.html#a7508ede2d8cda64545c0c1511db8333d">Gtk::RadioToolButton</a>, and <a class="el" href="classGtk_1_1ToggleToolButton.html#a9826ae502d32b3f6ef07972172bc1296">Gtk::ToggleToolButton</a>.</p>

</div>
</div>
<a class="anchor" id="a1a56d0f2dd67d8651b03d7c9d3b1c40b"></a><!-- doxytag: member="Gtk::ToolButton::on_clicked" ref="a1a56d0f2dd67d8651b03d7c9d3b1c40b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::ToolButton::on_clicked </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1437368e64967f500a19c6e81f4eaad0"></a><!-- doxytag: member="Gtk::ToolButton::property_icon_widget" ref="a1437368e64967f500a19c6e81f4eaad0" 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>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>&gt; Gtk::ToolButton::property_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Icon widget to display in the item. </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="af145e00d59e9e10a6f8f037de23e435f"></a><!-- doxytag: member="Gtk::ToolButton::property_icon_widget" ref="af145e00d59e9e10a6f8f037de23e435f" 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>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>&gt; Gtk::ToolButton::property_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Icon widget to display in the item. </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="a533fb1a269ed4edaeff0bc51daf7b90a"></a><!-- doxytag: member="Gtk::ToolButton::property_label" ref="a533fb1a269ed4edaeff0bc51daf7b90a" 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>&lt;<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>&gt; Gtk::ToolButton::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text to show in the item. </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="a79074bc5fd26254b29aec0c1db3c94c0"></a><!-- doxytag: member="Gtk::ToolButton::property_label" ref="a79074bc5fd26254b29aec0c1db3c94c0" 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>&lt;<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>&gt; Gtk::ToolButton::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text to show in the item. </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="a119dffab286a978e8f1d96ada9750c0b"></a><!-- doxytag: member="Gtk::ToolButton::property_label_widget" ref="a119dffab286a978e8f1d96ada9750c0b" 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>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>*&gt; Gtk::ToolButton::property_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. </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="a2b7c0f2cc33d11c2f7b2826c947e5ab8"></a><!-- doxytag: member="Gtk::ToolButton::property_label_widget" ref="a2b7c0f2cc33d11c2f7b2826c947e5ab8" 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>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>*&gt; Gtk::ToolButton::property_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. </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="a123caabea9980427cce3f9fb3414a941"></a><!-- doxytag: member="Gtk::ToolButton::property_stock_id" ref="a123caabea9980427cce3f9fb3414a941" 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>&lt;<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>&gt; Gtk::ToolButton::property_stock_id </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The stock icon displayed on the item. </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="ab861ed50a3a364e96966cf3db60c8adb"></a><!-- doxytag: member="Gtk::ToolButton::property_stock_id" ref="ab861ed50a3a364e96966cf3db60c8adb" 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>&lt;<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>&gt; Gtk::ToolButton::property_stock_id </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The stock icon displayed on the item. </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="ab69d0b602054b327af1af710d316ac36"></a><!-- doxytag: member="Gtk::ToolButton::property_use_underline" ref="ab69d0b602054b327af1af710d316ac36" 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>&lt;bool&gt; Gtk::ToolButton::property_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set. </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="abf128e10685694a77eddae41fdb70cdd"></a><!-- doxytag: member="Gtk::ToolButton::property_use_underline" ref="abf128e10685694a77eddae41fdb70cdd" 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>&lt;bool&gt; Gtk::ToolButton::property_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set. </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="a3c3b6b2fd0a64f9cf219bab69f12d4f9"></a><!-- doxytag: member="Gtk::ToolButton::set_icon_name" ref="a3c3b6b2fd0a64f9cf219bab69f12d4f9" args="(const Glib::ustring &amp;icon_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_icon_name </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> &amp;&#160;</td>
          <td class="paramname"> <em>icon_name</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the icon for the tool button from a named themed icon. </p>
<p>See the docs for <a class="el" href="classGtk_1_1IconTheme.html">Gtk::IconTheme</a> for more details. The "icon_name" property only has an effect if not overridden by non-<code>0</code> "label", "icon_widget" and "stock_id" properties.</p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000044">Since gtkmm 2.8:</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>icon_name</em>&#160;</td><td>The name of the themed icon. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab809b19b75cee54a2fc4b904f9a591e1"></a><!-- doxytag: member="Gtk::ToolButton::set_icon_widget" ref="ab809b19b75cee54a2fc4b904f9a591e1" args="(Widget &amp;icon_widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_icon_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>icon_widget</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>icon</em> as the widget used as icon on <em>button</em>. </p>
<p>If <em>icon_widget</em> is <code>0</code> the icon is determined by the "stock_id" property. If the "stock_id" property is also <code>0</code>, <em>button</em> will not have an icon.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000265">Since gtkmm 2.4:</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>icon_widget</em>&#160;</td><td>The widget used as icon, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9efe83b5048f641fdd35921e72ccb2f5"></a><!-- doxytag: member="Gtk::ToolButton::set_label" ref="a9efe83b5048f641fdd35921e72ccb2f5" args="(const Glib::ustring &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_label </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> &amp;&#160;</td>
          <td class="paramname"> <em>label</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>label</em> as the label used for the tool button. </p>
<p>The "label" property only has an effect if not overridden by a non-<code>0</code> "label_widget" property. If both the "label_widget" and "label" properties are <code>0</code>, the label is determined by the "stock_id" property. If the "stock_id" property is also <code>0</code>, <em>button</em> will not have a label.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000259">Since gtkmm 2.4:</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>label</em>&#160;</td><td>A string that will be used as label, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaadad39193ddfe3f23524ae889c8b9ad"></a><!-- doxytag: member="Gtk::ToolButton::set_label_widget" ref="aaadad39193ddfe3f23524ae889c8b9ad" args="(Widget &amp;label_widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_label_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>label_widget</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>label_widget</em> as the widget that will be used as the label for <em>button</em>. </p>
<p>If <em>label_widget</em> is <code>0</code> the "label" property is used as label. If "label" is also <code>0</code>, the label in the stock item determined by the "stock_id" property is used as label. If "stock_id" is also <code>0</code>, <em>button</em> does not have a label.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000268">Since gtkmm 2.4:</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>label_widget</em>&#160;</td><td>The widget used as label, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b236df95154efee1396035b623fa28e"></a><!-- doxytag: member="Gtk::ToolButton::set_stock_id" ref="a3b236df95154efee1396035b623fa28e" args="(const Gtk::StockID &amp;stock_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_stock_id </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp;&#160;</td>
          <td class="paramname"> <em>stock_id</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the name of the stock item. </p>
<p>See the ToolButton::ToolButton(const Gtk::StockID&amp; stock_id, IconSize size) constructor. The stock_id property only has an effect if not overridden by "label" and "icon_widget" properties.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000263">Since gtkmm 2.4:</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>stock_id</em>&#160;</td><td>A name of a stock item, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a149c499f50a89eb0554af47e7fe9a97d"></a><!-- doxytag: member="Gtk::ToolButton::set_use_underline" ref="a149c499f50a89eb0554af47e7fe9a97d" args="(bool use_underline=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_use_underline </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>use_underline</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. </p>
<p>For example, if the label property is "_Open" and <em>use_underline</em> is <code>true</code>, the label on the tool button will be "Open" and the item on the overflow menu will have an underlined 'O'.</p>
<p>Labels shown on tool buttons never have mnemonics on them; this property only affects the menu item on the overflow menu.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000261">Since gtkmm 2.4:</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>use_underline</em>&#160;</td><td>Whether the button label has the form "_Open". </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae915a27bf5f180e8998b7063565a8cac"></a><!-- doxytag: member="Gtk::ToolButton::signal_clicked" ref="ae915a27bf5f180e8998b7063565a8cac" 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_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::ToolButton::signal_clicked </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This signal is emitted when the tool button is clicked with the mouse or activated with the keyboard. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000066">Deprecated:</a></b></dt><dd>This is an "action" key-binding signal that you should rarely need to use.</dd></dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_clicked()</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5b2cedbe514fc9cefa5d8e325c1b2287"></a><!-- doxytag: member="Gtk::ToolButton::wrap" ref="a5b2cedbe514fc9cefa5d8e325c1b2287" args="(GtkToolButton *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1ToolButton.html">Gtk::ToolButton</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkToolButton *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</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>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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/toolbutton.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:04 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>