File: classGtk_1_1Button.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 (1460 lines) | stat: -rw-r--r-- 93,326 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
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
<!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::Button 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_1Button.html">Button</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Button Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::Button" --><!-- doxytag: inherits="Gtk::Bin" -->
<p>A widget that creates a signal when clicked on. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Bin.html">Gtk::Bin</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1ColorButton.html">Gtk::ColorButton</a>, <a class="el" href="classGtk_1_1FontButton.html">Gtk::FontButton</a>, <a class="el" href="classGtk_1_1LinkButton.html">Gtk::LinkButton</a>, <a class="el" href="classGtk_1_1OptionMenu.html">Gtk::OptionMenu</a>, <a class="el" href="classGtk_1_1ScaleButton.html">Gtk::ScaleButton</a>, and <a class="el" href="classGtk_1_1ToggleButton.html">Gtk::ToggleButton</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Button:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Button__coll__graph.png" border="0" usemap="#Gtk_1_1Button_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Button_coll__map" id="Gtk_1_1Button_coll__map">
<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_1Button-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_1Button.html#a188bfc5caf8e3c68d6d80b54186d8961">~Button</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#aac9db3896fa8b7576c6f3720846faa1c">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#aac9db3896fa8b7576c6f3720846faa1c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a9ea06156c54545902608286d1a0d0e42">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a9ea06156c54545902608286d1a0d0e42"></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_1Button.html#a122a26893f0efe761712c453b83e6714">Button</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty button. <a href="#a122a26893f0efe761712c453b83e6714"></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_1Button.html#a405a4a0363e4be77a71ed83c8fb61b44">Button</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, bool mnemonic=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Simple Push <a class="el" href="classGtk_1_1Button.html" title="A widget that creates a signal when clicked on.">Button</a> with label. <a href="#a405a4a0363e4be77a71ed83c8fb61b44"></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_1Button.html#af44d6e2efbb8342da17f7259626e67cc">Button</a> (const <a class="el" href="classGtk_1_1StockID.html">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_1Button.html" title="A widget that creates a signal when clicked on.">Button</a> containing the image and text from a stock item. <a href="#af44d6e2efbb8342da17f7259626e67cc"></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_1Button.html#a44480a361b5089689676f62d798d8351">pressed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#afc33139cc82d05b108d791d63fceeecb">released</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#af4b7ec50762018dac1ce42b8d1a4a797">clicked</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a24a8b5ff7cb9286319643ab5c672ce10">enter</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a4ef2c72ff49b7a51cd51bc34fcf2a9ad">leave</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#aaeee84797391945df559ebe1c0b88c1e">set_relief</a> (<a class="el" href="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a> newstyle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a2c902cb0c0ac00b26d23a2b04571f9b1">get_relief</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#ad3f9e419fc13a942f679a8545f0d96b6">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 the text of the label of the button to <em>str</em>. <a href="#ad3f9e419fc13a942f679a8545f0d96b6"></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_1Button.html#ae377dbb125d9beb6e6fdd5b191f785aa">get_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetches the text from the label of the button, as set by <a class="el" href="classGtk_1_1Button.html#ad3f9e419fc13a942f679a8545f0d96b6" title="Sets the text of the label of the button to str.">set_label()</a>. <a href="#ae377dbb125d9beb6e6fdd5b191f785aa"></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_1Button.html#a9c5e6c68d197342c751a22e0403c8e95">set_use_underline</a> (bool use_underline=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If true, an underline in the text of the button label indicates the next character should be used for the mnemonic accelerator key. <a href="#a9c5e6c68d197342c751a22e0403c8e95"></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_1Button.html#a6570250c1d48265aae83b8b6b1eb662f">get_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether an embedded underline in the button label indicates a mnemonic. <a href="#a6570250c1d48265aae83b8b6b1eb662f"></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_1Button.html#ad50fe8ec5243d13e8d146c54d12cf5a8">set_use_stock</a> (bool use_stock=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If <code>true</code>, the label set on the button is used as a stock id to select the stock item for the button. <a href="#ad50fe8ec5243d13e8d146c54d12cf5a8"></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_1Button.html#aa79490e3b6c63a89d0552790792e1b9b">get_use_stock</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the button label is a stock item. <a href="#aa79490e3b6c63a89d0552790792e1b9b"></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_1Button.html#aab691cee055c3e2850dcb968f7bf94c9">set_focus_on_click</a> (bool focus_on_click=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the button will grab focus when it is clicked with the mouse. <a href="#aab691cee055c3e2850dcb968f7bf94c9"></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_1Button.html#ab1800f6488996503da0e80613d52e6fb">get_focus_on_click</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the button grabs focus when it is clicked with the mouse. <a href="#ab1800f6488996503da0e80613d52e6fb"></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_1Button.html#a7b204372b3ee1395290cfad7033c08fb">set_alignment</a> (float xalign, float yalign)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the alignment of the child. <a href="#a7b204372b3ee1395290cfad7033c08fb"></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_1Button.html#a5077c50492734651ff9669f7ef1c8d47">get_alignment</a> (float&amp; xalign, float&amp; yalign)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the alignment of the child in the button. <a href="#a5077c50492734651ff9669f7ef1c8d47"></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_1Button.html#ac49972018a8ed3392e897cdf9da66391">set_image</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; image)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the image of <em>button</em> to the given widget. <a href="#ac49972018a8ed3392e897cdf9da66391"></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_1Button.html#a18bc83ac500da4a119c67fbf2dd03b76">get_image</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the widget that is currenty set as the image of <em>button</em>. <a href="#a18bc83ac500da4a119c67fbf2dd03b76"></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_1Button.html#a05db2376a19eae4c44379c94def46685">get_image</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the widget that is currenty set as the image of <em>button</em>. <a href="#a05db2376a19eae4c44379c94def46685"></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_1Button.html#a4d4ebee42b3c2255147999f3d385e19c">set_image_position</a> (<a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> position)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the position of the image relative to the text inside the button. <a href="#a4d4ebee42b3c2255147999f3d385e19c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#ab84644d4051e2d3fd5015360f2bef426">get_image_position</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the position of the image relative to the text inside the button. <a href="#ab84644d4051e2d3fd5015360f2bef426"></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_1Button.html#acf7a9ec90fa7e4f833af37fe11fb1b18">signal_pressed</a> ()</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_1Button.html#acd22eaf8d862fa3e4fd606a7212d76cf">signal_released</a> ()</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_1Button.html#a515244a851fd9874cc481cdfc5ebf512">signal_clicked</a> ()</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_1Button.html#a99f7eaa8a6aee072e0c08139babf8fa9">signal_enter</a> ()</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_1Button.html#a5b8c8acfe55f9d567f316a53b574690f">signal_leave</a> ()</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_1Button.html#af9af0c8d0dc16d73bad1c2a7f3533485">signal_activate</a> ()</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_1Button.html#aaacbc200ba99470f78e2c6b440da1145">property_label</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text of the label widget inside the button. <a href="#aaacbc200ba99470f78e2c6b440da1145"></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_1Button.html#abfcc59b5e18192fa58111b6edadc8958">property_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text of the label widget inside the button. <a href="#abfcc59b5e18192fa58111b6edadc8958"></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="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a52bdf1dbe78d515c92ab28d2cf6415ed">property_relief</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The border relief style. <a href="#a52bdf1dbe78d515c92ab28d2cf6415ed"></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="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#ad0d3283fb039b08bb0dc84804c1bd23b">property_relief</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The border relief style. <a href="#ad0d3283fb039b08bb0dc84804c1bd23b"></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_1Button.html#aebf723d7f58127eeb807badb92f90bee">property_use_underline</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#aebf723d7f58127eeb807badb92f90bee"></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_1Button.html#ad50617cf64e3ffa7decfb8a31b36bd1a">property_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#ad50617cf64e3ffa7decfb8a31b36bd1a"></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_1Button.html#aedc60f765a912ba5652a11512030424e">property_use_stock</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#aedc60f765a912ba5652a11512030424e"></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_1Button.html#aff09634d48cb0ddf40451d521c2076cf">property_use_stock</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#aff09634d48cb0ddf40451d521c2076cf"></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_1Button.html#a177d1c007b64ba2551f0aa8294630adf">property_focus_on_click</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the button grabs focus when it is clicked with the mouse. <a href="#a177d1c007b64ba2551f0aa8294630adf"></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_1Button.html#aad8aa9d132968f1f670051b392e0c57a">property_focus_on_click</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the button grabs focus when it is clicked with the mouse. <a href="#aad8aa9d132968f1f670051b392e0c57a"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#aec5ddb71f5989be54943acfe7c486656">property_xalign</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Horizontal position of child in available space. <a href="#aec5ddb71f5989be54943acfe7c486656"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#af8488aea8dcdc21d13ee0e8a0a173235">property_xalign</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Horizontal position of child in available space. <a href="#af8488aea8dcdc21d13ee0e8a0a173235"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a05c9e11829874c4c5ccbb931c0bdea48">property_yalign</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Vertical position of child in available space. <a href="#a05c9e11829874c4c5ccbb931c0bdea48"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a571936243340d0b1eaba5fc716669907">property_yalign</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Vertical position of child in available space. <a href="#a571936243340d0b1eaba5fc716669907"></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_1Button.html#a19d95f052d3297a812f7bbddb864c153">property_image</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Child widget to appear next to the button text. <a href="#a19d95f052d3297a812f7bbddb864c153"></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_1Button.html#a1b1a0f32b27c8b0cba6c7404243ba46c">property_image</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Child widget to appear next to the button text. <a href="#a1b1a0f32b27c8b0cba6c7404243ba46c"></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="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#ad8a05304b305e20573dc834110f09211">property_image_position</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The position of the image relative to the text. <a href="#ad8a05304b305e20573dc834110f09211"></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="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a345dce891d99e571782ea991fa119dcc">property_image_position</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The position of the image relative to the text. <a href="#a345dce891d99e571782ea991fa119dcc"></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_1Button.html#ab7cb1b5d352e7ca2d21ea5e8243c0a8f">on_pressed</a> ()</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_1Button.html#ac10be7bca1f046b9fe1b5e1acf47c1cd">on_released</a> ()</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_1Button.html#abdd079e988525e00b432190866cdc59f">on_clicked</a> ()</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_1Button.html#a9de0aa98cfb93f5867d7b2facfbf70ed">on_enter</a> ()</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_1Button.html#aef824780a36ce218b400e228d46cc21a">on_leave</a> ()</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_1Button.html#ac5b1ec6552c46f56f10302556372baae">on_activate</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_1Button.html">Gtk::Button</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Button.html#a97111e31bc75c69c524fa2a944719a03">wrap</a> (GtkButton* 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="#a97111e31bc75c69c524fa2a944719a03"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A widget that creates a signal when clicked on. </p>
<p>This widget is generally used with a signal handler that is called when the button is pressed. It can hold any valid child widget. The most commonly used child is the <a class="el" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text.">Gtk::Label</a>.</p>
<p>The <a class="el" href="classGtk_1_1Button.html" title="A widget that creates a signal when clicked on.">Button</a> widget looks like this: </p>
<div align="center">
<img src="button2.png" alt="button2.png"/>
</div>
 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a188bfc5caf8e3c68d6d80b54186d8961"></a><!-- doxytag: member="Gtk::Button::~Button" ref="a188bfc5caf8e3c68d6d80b54186d8961" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Button::~Button </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="a122a26893f0efe761712c453b83e6714"></a><!-- doxytag: member="Gtk::Button::Button" ref="a122a26893f0efe761712c453b83e6714" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Button::Button </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create an empty button. </p>
<p>With an empty button, you can <a class="el" href="classGtk_1_1Container.html#ae5f3b9c32b1b74e7613997843e91f4cc">Gtk::Button::add()</a> a widget such as a Gtk::Pixmap or <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>.</p>
<p>If you just wish to add a <a class="el" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text.">Gtk::Label</a>, you may want to use the Gtk::Button(const Glib::ustring&amp; label) ctor directly instead. </p>

</div>
</div>
<a class="anchor" id="a405a4a0363e4be77a71ed83c8fb61b44"></a><!-- doxytag: member="Gtk::Button::Button" ref="a405a4a0363e4be77a71ed83c8fb61b44" args="(const Glib::ustring &amp;label, bool mnemonic=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Button::Button </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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>mnemonic</em> = <code>false</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>Simple Push <a class="el" href="classGtk_1_1Button.html" title="A widget that creates a signal when clicked on.">Button</a> with label. </p>
<p>Create a button with the given label inside. You won't be able to add a widget in this button since it already has a <a class="el" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text.">Gtk::Label</a> in it </p>

</div>
</div>
<a class="anchor" id="af44d6e2efbb8342da17f7259626e67cc"></a><!-- doxytag: member="Gtk::Button::Button" ref="af44d6e2efbb8342da17f7259626e67cc" args="(const StockID &amp;stock_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Button::Button </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">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_1Button.html" title="A widget that creates a signal when clicked on.">Button</a> containing the image and text from a stock item. </p>
<p><a class="el" href="namespaceGtk_1_1Stock.html">Stock</a> ids have identifiers like <a class="el" href="namespaceGtk_1_1Stock.html#a783d80fdc67520898ed369836f1f3390">Gtk::Stock::OK</a> and <a class="el" href="namespaceGtk_1_1Stock.html#a4cbfe0fbbd18329f560bb225081743c9">Gtk::Stock::APPLY</a>. </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 stock item. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af4b7ec50762018dac1ce42b8d1a4a797"></a><!-- doxytag: member="Gtk::Button::clicked" ref="af4b7ec50762018dac1ce42b8d1a4a797" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::clicked </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a5077c50492734651ff9669f7ef1c8d47"></a><!-- doxytag: member="Gtk::Button::get_alignment" ref="a5077c50492734651ff9669f7ef1c8d47" args="(float &amp;xalign, float &amp;yalign)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::get_alignment </td>
          <td>(</td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"> <em>xalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"> <em>yalign</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the alignment of the child in the button. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000048">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>xalign</em>&#160;</td><td>Return location for horizontal alignment. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yalign</em>&#160;</td><td>Return location for vertical alignment. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Returns whether the button grabs focus when it is clicked with the mouse. </p>
<p>See <a class="el" href="classGtk_1_1Button.html#aab691cee055c3e2850dcb968f7bf94c9" title="Sets whether the button will grab focus when it is clicked with the mouse.">set_focus_on_click()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000046">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the button grabs focus when it is clicked with the mouse. </dd></dl>

</div>
</div>
<a class="anchor" id="a05db2376a19eae4c44379c94def46685"></a><!-- doxytag: member="Gtk::Button::get_image" ref="a05db2376a19eae4c44379c94def46685" 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::Button::get_image </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the widget that is currenty set as the image of <em>button</em>. </p>
<p>This may have been explicitly set by <a class="el" href="classGtk_1_1Button.html#ac49972018a8ed3392e897cdf9da66391" title="Set the image of button to the given widget.">set_image()</a> or specified as a stock item to the constructor.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000042">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a18bc83ac500da4a119c67fbf2dd03b76"></a><!-- doxytag: member="Gtk::Button::get_image" ref="a18bc83ac500da4a119c67fbf2dd03b76" 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::Button::get_image </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the widget that is currenty set as the image of <em>button</em>. </p>
<p>This may have been explicitly set by <a class="el" href="classGtk_1_1Button.html#ac49972018a8ed3392e897cdf9da66391" title="Set the image of button to the given widget.">set_image()</a> or specified as a stock item to the constructor.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000041">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ab84644d4051e2d3fd5015360f2bef426"></a><!-- doxytag: member="Gtk::Button::get_image_position" ref="ab84644d4051e2d3fd5015360f2bef426" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> Gtk::Button::get_image_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the position of the image relative to the text inside the button. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000047">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The position. </dd></dl>

</div>
</div>
<a class="anchor" id="ae377dbb125d9beb6e6fdd5b191f785aa"></a><!-- doxytag: member="Gtk::Button::get_label" ref="ae377dbb125d9beb6e6fdd5b191f785aa" 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::Button::get_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fetches the text from the label of the button, as set by <a class="el" href="classGtk_1_1Button.html#ad3f9e419fc13a942f679a8545f0d96b6" title="Sets the text of the label of the button to str.">set_label()</a>. </p>
<p>If the label text has not been set the return value will be <code>0</code>. This will be the case if you create an empty button with new() to use as a container. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The text of the label widget. This string is owned by the widget and must not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a2c902cb0c0ac00b26d23a2b04571f9b1"></a><!-- doxytag: member="Gtk::Button::get_relief" ref="a2c902cb0c0ac00b26d23a2b04571f9b1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a> Gtk::Button::get_relief </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Returns whether the button label is a stock item. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the button label is used to select a stock item instead of being used directly as the label text. </dd></dl>

</div>
</div>
<a class="anchor" id="a6570250c1d48265aae83b8b6b1eb662f"></a><!-- doxytag: member="Gtk::Button::get_use_underline" ref="a6570250c1d48265aae83b8b6b1eb662f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Button::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 an embedded underline in the button label indicates a mnemonic. </p>
<p>See <a class="el" href="classGtk_1_1Button.html#a9c5e6c68d197342c751a22e0403c8e95" title="If true, an underline in the text of the button label indicates the next character...">set_use_underline()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an embedded underline in the button label indicates the mnemonic accelerator keys. </dd></dl>

</div>
</div>
<a class="anchor" id="a9ea06156c54545902608286d1a0d0e42"></a><!-- doxytag: member="Gtk::Button::gobj" ref="a9ea06156c54545902608286d1a0d0e42" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkButton* Gtk::Button::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_1Bin.html#ad6db11cd388872c6ee36aee075478374">Gtk::Bin</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1CheckButton.html#a89c2952646c6133413f35f8c38a8f7c1">Gtk::CheckButton</a>, <a class="el" href="classGtk_1_1ColorButton.html#ae852b3e46116fdf4e87e1660ca8bf84e">Gtk::ColorButton</a>, <a class="el" href="classGtk_1_1FontButton.html#a00dbc94dbf245b18d5badf09446d8c03">Gtk::FontButton</a>, <a class="el" href="classGtk_1_1LinkButton.html#a33cb4ef15934e907b80b266ad8c862d2">Gtk::LinkButton</a>, <a class="el" href="classGtk_1_1OptionMenu.html#a7f3da3dbf5f565daa422f126c2b7d86f">Gtk::OptionMenu</a>, <a class="el" href="classGtk_1_1RadioButton.html#a03095fa6bb24ec52d0cceaa3d5ac353d">Gtk::RadioButton</a>, <a class="el" href="classGtk_1_1ScaleButton.html#ac517467566cde32ec931fa95d01964d8">Gtk::ScaleButton</a>, <a class="el" href="classGtk_1_1ToggleButton.html#a64415628d18b8d76da14ce7109e9b6af">Gtk::ToggleButton</a>, and <a class="el" href="classGtk_1_1VolumeButton.html#a12441bec52e8998b606048336f073212">Gtk::VolumeButton</a>.</p>

</div>
</div>
<a class="anchor" id="aac9db3896fa8b7576c6f3720846faa1c"></a><!-- doxytag: member="Gtk::Button::gobj" ref="aac9db3896fa8b7576c6f3720846faa1c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkButton* Gtk::Button::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_1Bin.html#a6fef1f41c67a588dd33087ea479e0ad1">Gtk::Bin</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1CheckButton.html#a9c03c6bb7097d41b6a1d7437259e7cee">Gtk::CheckButton</a>, <a class="el" href="classGtk_1_1ColorButton.html#a1faf17015e5af54cfaa60c263e3b487e">Gtk::ColorButton</a>, <a class="el" href="classGtk_1_1FontButton.html#ad4dae76c16ec6d501816f1a06e9d44b2">Gtk::FontButton</a>, <a class="el" href="classGtk_1_1LinkButton.html#a01e2192f9822c37b815fc6d1d2e33d84">Gtk::LinkButton</a>, <a class="el" href="classGtk_1_1OptionMenu.html#aae1984c3cfd400894e9da3e81fb4c4d0">Gtk::OptionMenu</a>, <a class="el" href="classGtk_1_1RadioButton.html#a43c24cc7bea2c2edf043f4b76c632ee7">Gtk::RadioButton</a>, <a class="el" href="classGtk_1_1ScaleButton.html#abd9b41acbedadf2ae1e4bf96250bf99f">Gtk::ScaleButton</a>, <a class="el" href="classGtk_1_1ToggleButton.html#aaf95f140bb908c7424ce489c8c988993">Gtk::ToggleButton</a>, and <a class="el" href="classGtk_1_1VolumeButton.html#a0da9674c76e5abe87e070c6d987b9605">Gtk::VolumeButton</a>.</p>

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

</div>
</div>
<a class="anchor" id="ac5b1ec6552c46f56f10302556372baae"></a><!-- doxytag: member="Gtk::Button::on_activate" ref="ac5b1ec6552c46f56f10302556372baae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Button::on_activate </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="abdd079e988525e00b432190866cdc59f"></a><!-- doxytag: member="Gtk::Button::on_clicked" ref="abdd079e988525e00b432190866cdc59f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Button::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="a9de0aa98cfb93f5867d7b2facfbf70ed"></a><!-- doxytag: member="Gtk::Button::on_enter" ref="a9de0aa98cfb93f5867d7b2facfbf70ed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Button::on_enter </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="aef824780a36ce218b400e228d46cc21a"></a><!-- doxytag: member="Gtk::Button::on_leave" ref="aef824780a36ce218b400e228d46cc21a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Button::on_leave </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="ab7cb1b5d352e7ca2d21ea5e8243c0a8f"></a><!-- doxytag: member="Gtk::Button::on_pressed" ref="ab7cb1b5d352e7ca2d21ea5e8243c0a8f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Button::on_pressed </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="ac10be7bca1f046b9fe1b5e1acf47c1cd"></a><!-- doxytag: member="Gtk::Button::on_released" ref="ac10be7bca1f046b9fe1b5e1acf47c1cd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Button::on_released </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="a44480a361b5089689676f62d798d8351"></a><!-- doxytag: member="Gtk::Button::pressed" ref="a44480a361b5089689676f62d798d8351" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::pressed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aad8aa9d132968f1f670051b392e0c57a"></a><!-- doxytag: member="Gtk::Button::property_focus_on_click" ref="aad8aa9d132968f1f670051b392e0c57a" 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::Button::property_focus_on_click </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the button grabs focus when it is clicked with the mouse. </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="a177d1c007b64ba2551f0aa8294630adf"></a><!-- doxytag: member="Gtk::Button::property_focus_on_click" ref="a177d1c007b64ba2551f0aa8294630adf" 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::Button::property_focus_on_click </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the button grabs focus when it is clicked with the mouse. </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="a1b1a0f32b27c8b0cba6c7404243ba46c"></a><!-- doxytag: member="Gtk::Button::property_image" ref="a1b1a0f32b27c8b0cba6c7404243ba46c" 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::Button::property_image </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Child widget to appear next to the button text. </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="a19d95f052d3297a812f7bbddb864c153"></a><!-- doxytag: member="Gtk::Button::property_image" ref="a19d95f052d3297a812f7bbddb864c153" 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::Button::property_image </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Child widget to appear next to the button text. </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="a345dce891d99e571782ea991fa119dcc"></a><!-- doxytag: member="Gtk::Button::property_image_position" ref="a345dce891d99e571782ea991fa119dcc" 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="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&gt; Gtk::Button::property_image_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The position of the image relative to the text. </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="ad8a05304b305e20573dc834110f09211"></a><!-- doxytag: member="Gtk::Button::property_image_position" ref="ad8a05304b305e20573dc834110f09211" 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="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&gt; Gtk::Button::property_image_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The position of the image relative to the text. </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="abfcc59b5e18192fa58111b6edadc8958"></a><!-- doxytag: member="Gtk::Button::property_label" ref="abfcc59b5e18192fa58111b6edadc8958" 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::Button::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text of the label widget inside the button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aaacbc200ba99470f78e2c6b440da1145"></a><!-- doxytag: member="Gtk::Button::property_label" ref="aaacbc200ba99470f78e2c6b440da1145" 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::Button::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text of the label widget inside the button. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad0d3283fb039b08bb0dc84804c1bd23b"></a><!-- doxytag: member="Gtk::Button::property_relief" ref="ad0d3283fb039b08bb0dc84804c1bd23b" 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="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a>&gt; Gtk::Button::property_relief </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The border relief style. </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="a52bdf1dbe78d515c92ab28d2cf6415ed"></a><!-- doxytag: member="Gtk::Button::property_relief" ref="a52bdf1dbe78d515c92ab28d2cf6415ed" 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="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a>&gt; Gtk::Button::property_relief </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The border relief style. </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="aff09634d48cb0ddf40451d521c2076cf"></a><!-- doxytag: member="Gtk::Button::property_use_stock" ref="aff09634d48cb0ddf40451d521c2076cf" 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::Button::property_use_stock </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="aedc60f765a912ba5652a11512030424e"></a><!-- doxytag: member="Gtk::Button::property_use_stock" ref="aedc60f765a912ba5652a11512030424e" 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::Button::property_use_stock </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="ad50617cf64e3ffa7decfb8a31b36bd1a"></a><!-- doxytag: member="Gtk::Button::property_use_underline" ref="ad50617cf64e3ffa7decfb8a31b36bd1a" 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::Button::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="aebf723d7f58127eeb807badb92f90bee"></a><!-- doxytag: member="Gtk::Button::property_use_underline" ref="aebf723d7f58127eeb807badb92f90bee" 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::Button::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="af8488aea8dcdc21d13ee0e8a0a173235"></a><!-- doxytag: member="Gtk::Button::property_xalign" ref="af8488aea8dcdc21d13ee0e8a0a173235" 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;float&gt; Gtk::Button::property_xalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Horizontal position of child in available space. </p>
<p>0.0 is left aligned</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="aec5ddb71f5989be54943acfe7c486656"></a><!-- doxytag: member="Gtk::Button::property_xalign" ref="aec5ddb71f5989be54943acfe7c486656" 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;float&gt; Gtk::Button::property_xalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Horizontal position of child in available space. </p>
<p>0.0 is left aligned</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="a571936243340d0b1eaba5fc716669907"></a><!-- doxytag: member="Gtk::Button::property_yalign" ref="a571936243340d0b1eaba5fc716669907" 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;float&gt; Gtk::Button::property_yalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Vertical position of child in available space. </p>
<p>0.0 is top aligned</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="a05c9e11829874c4c5ccbb931c0bdea48"></a><!-- doxytag: member="Gtk::Button::property_yalign" ref="a05c9e11829874c4c5ccbb931c0bdea48" 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;float&gt; Gtk::Button::property_yalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Vertical position of child in available space. </p>
<p>0.0 is top aligned</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="afc33139cc82d05b108d791d63fceeecb"></a><!-- doxytag: member="Gtk::Button::released" ref="afc33139cc82d05b108d791d63fceeecb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::released </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7b204372b3ee1395290cfad7033c08fb"></a><!-- doxytag: member="Gtk::Button::set_alignment" ref="a7b204372b3ee1395290cfad7033c08fb" args="(float xalign, float yalign)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::set_alignment </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>xalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>yalign</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the alignment of the child. </p>
<p>This property has no effect unless the child is a <a class="el" href="classGtk_1_1Misc.html" title="A base class for widgets with alignments and padding.">Gtk::Misc</a> or a Gtk::Aligment.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000047">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>xalign</em>&#160;</td><td>The horizontal position of the child, 0.0 is left aligned, 1.0 is right aligned. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yalign</em>&#160;</td><td>The vertical position of the child, 0.0 is top aligned, 1.0 is bottom aligned. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Sets whether the button will grab focus when it is clicked with the mouse. </p>
<p>Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000045">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>focus_on_click</em>&#160;</td><td>Whether the button grabs focus when clicked with the mouse. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Set the image of <em>button</em> to the given widget. </p>
<p>Note that it depends on the <a class="el" href="classGtk_1_1Settings.html" title="Sharing settings between applications.">Gtk::Settings</a>:gtk-button-images setting whether the image will be displayed or not, you don't have to call <a class="el" href="classGtk_1_1Widget.html#aa791d86a0bb3658e378e81d731dd0121" title="Flags a widget to be displayed.">Gtk::Widget::show()</a> on <em>image</em> yourself.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000040">Since gtkmm 2.6:</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>image</em>&#160;</td><td>A widget to set as the image for the button. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4d4ebee42b3c2255147999f3d385e19c"></a><!-- doxytag: member="Gtk::Button::set_image_position" ref="a4d4ebee42b3c2255147999f3d385e19c" args="(PositionType position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::set_image_position </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&#160;</td>
          <td class="paramname"> <em>position</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the position of the image relative to the text inside the button. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000046">Since gtkmm 2.10:</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>position</em>&#160;</td><td>The position. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad3f9e419fc13a942f679a8545f0d96b6"></a><!-- doxytag: member="Gtk::Button::set_label" ref="ad3f9e419fc13a942f679a8545f0d96b6" args="(const Glib::ustring &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::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 the text of the label of the button to <em>str</em>. </p>
<p>This text is also used to select the stock item if <a class="el" href="classGtk_1_1Button.html#ad50fe8ec5243d13e8d146c54d12cf5a8" title="If true, the label set on the button is used as a stock id to select the stock item...">set_use_stock()</a> is used.</p>
<p>This will also clear any previously set labels. </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>A string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaeee84797391945df559ebe1c0b88c1e"></a><!-- doxytag: member="Gtk::Button::set_relief" ref="aaeee84797391945df559ebe1c0b88c1e" args="(ReliefStyle newstyle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::set_relief </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga11df7b40133f3cd29b07bd87c969ff42">ReliefStyle</a>&#160;</td>
          <td class="paramname"> <em>newstyle</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>If <code>true</code>, the label set on the button is used as a stock id to select the stock item for the button. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>use_stock</em>&#160;</td><td><code>true</code> if the button should use a stock item. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9c5e6c68d197342c751a22e0403c8e95"></a><!-- doxytag: member="Gtk::Button::set_use_underline" ref="a9c5e6c68d197342c751a22e0403c8e95" args="(bool use_underline=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Button::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 true, an underline in the text of the button label indicates the next character should be used for the mnemonic accelerator key. </p>
<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><code>true</code> if underlines in the text indicate mnemonics. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af9af0c8d0dc16d73bad1c2a7f3533485"></a><!-- doxytag: member="Gtk::Button::signal_activate" ref="af9af0c8d0dc16d73bad1c2a7f3533485" 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::Button::signal_activate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_activate()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a515244a851fd9874cc481cdfc5ebf512"></a><!-- doxytag: member="Gtk::Button::signal_clicked" ref="a515244a851fd9874cc481cdfc5ebf512" 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::Button::signal_clicked </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_clicked()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a99f7eaa8a6aee072e0c08139babf8fa9"></a><!-- doxytag: member="Gtk::Button::signal_enter" ref="a99f7eaa8a6aee072e0c08139babf8fa9" 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::Button::signal_enter </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_enter()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a5b8c8acfe55f9d567f316a53b574690f"></a><!-- doxytag: member="Gtk::Button::signal_leave" ref="a5b8c8acfe55f9d567f316a53b574690f" 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::Button::signal_leave </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_leave()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="acf7a9ec90fa7e4f833af37fe11fb1b18"></a><!-- doxytag: member="Gtk::Button::signal_pressed" ref="acf7a9ec90fa7e4f833af37fe11fb1b18" 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::Button::signal_pressed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_pressed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="acd22eaf8d862fa3e4fd606a7212d76cf"></a><!-- doxytag: member="Gtk::Button::signal_released" ref="acd22eaf8d862fa3e4fd606a7212d76cf" 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::Button::signal_released </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_released()</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a97111e31bc75c69c524fa2a944719a03"></a><!-- doxytag: member="Gtk::Button::wrap" ref="a97111e31bc75c69c524fa2a944719a03" args="(GtkButton *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Button.html">Gtk::Button</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkButton *&#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/button.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:47 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>