~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkToolItem</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="prev" href="GtkToolbar.html" title="GtkToolbar">
<link rel="next" href="GtkToolPalette.html" title="GtkToolPalette">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkToolbar.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkToolPalette.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkToolItem.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkToolItem.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkToolItem.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkToolItem.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GtkToolItem.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GtkToolItem.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="GtkToolItem">
<a name="GtkToolItem"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkToolItem.top_of_page"></a>GtkToolItem</span></h2>
<p>GtkToolItem — The base class of widgets that can be added to GtkToolShell</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="GtkToolItem.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

                    <a class="link" href="GtkToolItem.html#GtkToolItem-struct" title="GtkToolItem">GtkToolItem</a>;
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       <a class="link" href="GtkToolItem.html#gtk-tool-item-new" title="gtk_tool_item_new ()">gtk_tool_item_new</a>                   (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-homogeneous" title="gtk_tool_item_set_homogeneous ()">gtk_tool_item_set_homogeneous</a>       (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolItem.html#gtk-tool-item-get-homogeneous" title="gtk_tool_item_get_homogeneous ()">gtk_tool_item_get_homogeneous</a>       (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-expand" title="gtk_tool_item_set_expand ()">gtk_tool_item_set_expand</a>            (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolItem.html#gtk-tool-item-get-expand" title="gtk_tool_item_get_expand ()">gtk_tool_item_get_expand</a>            (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-tooltip" title="gtk_tool_item_set_tooltip ()">gtk_tool_item_set_tooltip</a>           (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkTooltips.html" title="GtkTooltips"><span class="type">GtkTooltips</span></a> *tooltips</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tip_text</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tip_private</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-tooltip-text" title="gtk_tool_item_set_tooltip_text ()">gtk_tool_item_set_tooltip_text</a>      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-tooltip-markup" title="gtk_tool_item_set_tooltip_markup ()">gtk_tool_item_set_tooltip_markup</a>    (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-use-drag-window" title="gtk_tool_item_set_use_drag_window ()">gtk_tool_item_set_use_drag_window</a>   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_drag_window</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolItem.html#gtk-tool-item-get-use-drag-window" title="gtk_tool_item_get_use_drag_window ()">gtk_tool_item_get_use_drag_window</a>   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-visible-horizontal" title="gtk_tool_item_set_visible_horizontal ()">gtk_tool_item_set_visible_horizontal</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_horizontal</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolItem.html#gtk-tool-item-get-visible-horizontal" title="gtk_tool_item_get_visible_horizontal ()">gtk_tool_item_get_visible_horizontal</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-visible-vertical" title="gtk_tool_item_set_visible_vertical ()">gtk_tool_item_set_visible_vertical</a>  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_vertical</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolItem.html#gtk-tool-item-get-visible-vertical" title="gtk_tool_item_get_visible_vertical ()">gtk_tool_item_get_visible_vertical</a>  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-is-important" title="gtk_tool_item_set_is_important ()">gtk_tool_item_set_is_important</a>      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_important</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolItem.html#gtk-tool-item-get-is-important" title="gtk_tool_item_get_is_important ()">gtk_tool_item_get_is_important</a>      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  <a class="link" href="GtkToolItem.html#gtk-tool-item-get-ellipsize-mode" title="gtk_tool_item_get_ellipsize_mode ()">gtk_tool_item_get_ellipsize_mode</a>    (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>         <a class="link" href="GtkToolItem.html#gtk-tool-item-get-icon-size" title="gtk_tool_item_get_icon_size ()">gtk_tool_item_get_icon_size</a>         (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      <a class="link" href="GtkToolItem.html#gtk-tool-item-get-orientation" title="gtk_tool_item_get_orientation ()">gtk_tool_item_get_orientation</a>       (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>     <a class="link" href="GtkToolItem.html#gtk-tool-item-get-toolbar-style" title="gtk_tool_item_get_toolbar_style ()">gtk_tool_item_get_toolbar_style</a>     (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>      <a class="link" href="GtkToolItem.html#gtk-tool-item-get-relief-style" title="gtk_tool_item_get_relief_style ()">gtk_tool_item_get_relief_style</a>      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>              <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-alignment" title="gtk_tool_item_get_text_alignment ()">gtk_tool_item_get_text_alignment</a>    (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-orientation" title="gtk_tool_item_get_text_orientation ()">gtk_tool_item_get_text_orientation</a>  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkToolItem.html#gtk-tool-item-retrieve-proxy-menu-item" title="gtk_tool_item_retrieve_proxy_menu_item ()">gtk_tool_item_retrieve_proxy_menu_item</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkToolItem.html#gtk-tool-item-get-proxy-menu-item" title="gtk_tool_item_get_proxy_menu_item ()">gtk_tool_item_get_proxy_menu_item</a>   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *menu_item_id</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()">gtk_tool_item_set_proxy_menu_item</a>   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *menu_item_id</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *menu_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-rebuild-menu" title="gtk_tool_item_rebuild_menu ()">gtk_tool_item_rebuild_menu</a>          (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItem.html#gtk-tool-item-toolbar-reconfigured" title="gtk_tool_item_toolbar_reconfigured ()">gtk_tool_item_toolbar_reconfigured</a>  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
<a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="returnvalue">GtkSizeGroup</span></a> *      <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-size-group" title="gtk_tool_item_get_text_size_group ()">gtk_tool_item_get_text_size_group</a>   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="GtkToolItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                           +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
                                 +----GtkToolItem
                                       +----<a class="link" href="GtkToolButton.html" title="GtkToolButton">GtkToolButton</a>
                                       +----<a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem">GtkSeparatorToolItem</a>
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="GtkToolItem.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkToolItem implements
 AtkImplementorIface,  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a> and  <a class="link" href="GtkActivatable.html" title="GtkActivatable">GtkActivatable</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="GtkToolItem.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkToolItem.html#GtkToolItem--is-important" title='The "is-important" property'>is-important</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkToolItem.html#GtkToolItem--visible-horizontal" title='The "visible-horizontal" property'>visible-horizontal</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkToolItem.html#GtkToolItem--visible-vertical" title='The "visible-vertical" property'>visible-vertical</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="GtkToolItem.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkToolItem.html#GtkToolItem-create-menu-proxy" title='The "create-menu-proxy" signal'>create-menu-proxy</a>"                              : Run Last
  "<a class="link" href="GtkToolItem.html#GtkToolItem-set-tooltip" title='The "set-tooltip" signal'>set-tooltip</a>"                                    : Run Last
  "<a class="link" href="GtkToolItem.html#GtkToolItem-toolbar-reconfigured" title='The "toolbar-reconfigured" signal'>toolbar-reconfigured</a>"                           : Run Last
</pre>
</div>
<div class="refsect1" title="Description">
<a name="GtkToolItem.description"></a><h2>Description</h2>
<p>
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>s are widgets that can appear on a toolbar. To
create a toolbar item that contain something else than a button, use
<a class="link" href="GtkToolItem.html#gtk-tool-item-new" title="gtk_tool_item_new ()"><code class="function">gtk_tool_item_new()</code></a>. Use <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> to add a child
widget to the tool item.
</p>
<p>
For toolbar items that contain buttons, see the <a class="link" href="GtkToolButton.html" title="GtkToolButton"><span class="type">GtkToolButton</span></a>,
<a class="link" href="GtkToggleToolButton.html" title="GtkToggleToolButton"><span class="type">GtkToggleToolButton</span></a> and <a class="link" href="GtkRadioToolButton.html" title="GtkRadioToolButton"><span class="type">GtkRadioToolButton</span></a> classes.
</p>
<p>
See the <a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a> class for a description of the toolbar widget, and
<a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> for a description of the tool shell interface.
</p>
</div>
<div class="refsect1" title="Details">
<a name="GtkToolItem.details"></a><h2>Details</h2>
<div class="refsect2" title="GtkToolItem">
<a name="GtkToolItem-struct"></a><h3>GtkToolItem</h3>
<pre class="programlisting">typedef struct _GtkToolItem GtkToolItem;</pre>
<p>
The GtkToolItem struct contains only private data.
It should only be accessed through the functions described below.
</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_new ()">
<a name="gtk-tool-item-new"></a><h3>gtk_tool_item_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       gtk_tool_item_new                   (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the new <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>

</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_homogeneous ()">
<a name="gtk-tool-item-set-homogeneous"></a><h3>gtk_tool_item_set_homogeneous ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_homogeneous       (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
<p>
Sets whether <em class="parameter"><code>tool_item</code></em> is to be allocated the same size as other
homogeneous items. The effect is that all homogeneous items will have
the same width as the widest of the items.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>homogeneous</code></em> :</span></p></td>
<td>whether <em class="parameter"><code>tool_item</code></em> is the same size as other homogeneous items
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_homogeneous ()">
<a name="gtk-tool-item-get-homogeneous"></a><h3>gtk_tool_item_get_homogeneous ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_get_homogeneous       (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>tool_item</code></em> is the same size as other homogeneous
items. See <a class="link" href="GtkToolItem.html#gtk-tool-item-set-homogeneous" title="gtk_tool_item_set_homogeneous ()"><code class="function">gtk_tool_item_set_homogeneous()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the item is the same size as other homogeneous
items.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_expand ()">
<a name="gtk-tool-item-set-expand"></a><h3>gtk_tool_item_set_expand ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_expand            (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);</pre>
<p>
Sets whether <em class="parameter"><code>tool_item</code></em> is allocated extra space when there
is more room on the toolbar then needed for the items. The
effect is that the item gets bigger when the toolbar gets bigger
and smaller when the toolbar gets smaller.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>expand</code></em> :</span></p></td>
<td>Whether <em class="parameter"><code>tool_item</code></em> is allocated extra space
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_expand ()">
<a name="gtk-tool-item-get-expand"></a><h3>gtk_tool_item_get_expand ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_get_expand            (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>tool_item</code></em> is allocated extra space.
See <a class="link" href="GtkToolItem.html#gtk-tool-item-set-expand" title="gtk_tool_item_set_expand ()"><code class="function">gtk_tool_item_set_expand()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em> is allocated extra space.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_tooltip ()">
<a name="gtk-tool-item-set-tooltip"></a><h3>gtk_tool_item_set_tooltip ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_tooltip           (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkTooltips.html" title="GtkTooltips"><span class="type">GtkTooltips</span></a> *tooltips</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tip_text</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tip_private</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_tool_item_set_tooltip</code> has been deprecated since version 2.12 and should not be used in newly-written code. Use <a class="link" href="GtkToolItem.html#gtk-tool-item-set-tooltip-text" title="gtk_tool_item_set_tooltip_text ()"><code class="function">gtk_tool_item_set_tooltip_text()</code></a> instead.</p>
</div>
<p>
Sets the <a class="link" href="GtkTooltips.html" title="GtkTooltips"><span class="type">GtkTooltips</span></a> object to be used for <em class="parameter"><code>tool_item</code></em>, the
text to be displayed as tooltip on the item and the private text
to be used. See <a class="link" href="GtkTooltips.html#gtk-tooltips-set-tip" title="gtk_tooltips_set_tip ()"><code class="function">gtk_tooltips_set_tip()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltips</code></em> :</span></p></td>
<td>The <a class="link" href="GtkTooltips.html" title="GtkTooltips"><span class="type">GtkTooltips</span></a> object to be used
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tip_text</code></em> :</span></p></td>
<td> text to be used as tooltip text for <em class="parameter"><code>tool_item</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tip_private</code></em> :</span></p></td>
<td> text to be used as private tooltip text. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_tooltip_text ()">
<a name="gtk-tool-item-set-tooltip-text"></a><h3>gtk_tool_item_set_tooltip_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_tooltip_text      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
<p>
Sets the text to be displayed as tooltip on the item.
See <a class="link" href="GtkWidget.html#gtk-widget-set-tooltip-text" title="gtk_widget_set_tooltip_text ()"><code class="function">gtk_widget_set_tooltip_text()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>text to be used as tooltip for <em class="parameter"><code>tool_item</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_tooltip_markup ()">
<a name="gtk-tool-item-set-tooltip-markup"></a><h3>gtk_tool_item_set_tooltip_markup ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_tooltip_markup    (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);</pre>
<p>
Sets the markup text to be displayed as tooltip on the item.
See <a class="link" href="GtkWidget.html#gtk-widget-set-tooltip-markup" title="gtk_widget_set_tooltip_markup ()"><code class="function">gtk_widget_set_tooltip_markup()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
<td>markup text to be used as tooltip for <em class="parameter"><code>tool_item</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_use_drag_window ()">
<a name="gtk-tool-item-set-use-drag-window"></a><h3>gtk_tool_item_set_use_drag_window ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_use_drag_window   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_drag_window</code></em>);</pre>
<p>
Sets whether <em class="parameter"><code>tool_item</code></em> has a drag window. When <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the
toolitem can be used as a drag source through <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set" title="gtk_drag_source_set ()"><code class="function">gtk_drag_source_set()</code></a>.
When <em class="parameter"><code>tool_item</code></em> has a drag window it will intercept all events,
even those that would otherwise be sent to a child of <em class="parameter"><code>tool_item</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>use_drag_window</code></em> :</span></p></td>
<td>Whether <em class="parameter"><code>tool_item</code></em> has a drag window.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_use_drag_window ()">
<a name="gtk-tool-item-get-use-drag-window"></a><h3>gtk_tool_item_get_use_drag_window ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_get_use_drag_window   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>tool_item</code></em> has a drag window. See
<a class="link" href="GtkToolItem.html#gtk-tool-item-set-use-drag-window" title="gtk_tool_item_set_use_drag_window ()"><code class="function">gtk_tool_item_set_use_drag_window()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em> uses a drag window.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_visible_horizontal ()">
<a name="gtk-tool-item-set-visible-horizontal"></a><h3>gtk_tool_item_set_visible_horizontal ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_visible_horizontal
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_horizontal</code></em>);</pre>
<p>
Sets whether <em class="parameter"><code>tool_item</code></em> is visible when the toolbar is docked horizontally.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>visible_horizontal</code></em> :</span></p></td>
<td>Whether <em class="parameter"><code>tool_item</code></em> is visible when in horizontal mode
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_visible_horizontal ()">
<a name="gtk-tool-item-get-visible-horizontal"></a><h3>gtk_tool_item_get_visible_horizontal ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_get_visible_horizontal
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns whether the <em class="parameter"><code>tool_item</code></em> is visible on toolbars that are
docked horizontally.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em> is visible on toolbars that are
docked horizontally.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_visible_vertical ()">
<a name="gtk-tool-item-set-visible-vertical"></a><h3>gtk_tool_item_set_visible_vertical ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_visible_vertical  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_vertical</code></em>);</pre>
<p>
Sets whether <em class="parameter"><code>tool_item</code></em> is visible when the toolbar is docked
vertically. Some tool items, such as text entries, are too wide to be
useful on a vertically docked toolbar. If <em class="parameter"><code>visible_vertical</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
<em class="parameter"><code>tool_item</code></em> will not appear on toolbars that are docked vertically.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>visible_vertical</code></em> :</span></p></td>
<td>whether <em class="parameter"><code>tool_item</code></em> is visible when the toolbar
is in vertical mode
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_visible_vertical ()">
<a name="gtk-tool-item-get-visible-vertical"></a><h3>gtk_tool_item_get_visible_vertical ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_get_visible_vertical  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>tool_item</code></em> is visible when the toolbar is docked vertically.
See <a class="link" href="GtkToolItem.html#gtk-tool-item-set-visible-vertical" title="gtk_tool_item_set_visible_vertical ()"><code class="function">gtk_tool_item_set_visible_vertical()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Whether <em class="parameter"><code>tool_item</code></em> is visible when the toolbar is docked vertically

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_is_important ()">
<a name="gtk-tool-item-set-is-important"></a><h3>gtk_tool_item_set_is_important ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_is_important      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_important</code></em>);</pre>
<p>
Sets whether <em class="parameter"><code>tool_item</code></em> should be considered important. The <a class="link" href="GtkToolButton.html" title="GtkToolButton"><span class="type">GtkToolButton</span></a>
class uses this property to determine whether to show or hide its label
when the toolbar style is <a class="link" href="gtk-Standard-Enumerations.html#GTK-TOOLBAR-BOTH-HORIZ:CAPS"><code class="literal">GTK_TOOLBAR_BOTH_HORIZ</code></a>. The result is that
only tool buttons with the "is_important" property set have labels, an
effect known as "priority text"
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_important</code></em> :</span></p></td>
<td>whether the tool item should be considered important
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_is_important ()">
<a name="gtk-tool-item-get-is-important"></a><h3>gtk_tool_item_get_is_important ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_get_is_important      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>tool_item</code></em> is considered important. See
<a class="link" href="GtkToolItem.html#gtk-tool-item-set-is-important" title="gtk_tool_item_set_is_important ()"><code class="function">gtk_tool_item_set_is_important()</code></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em> is considered important.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_ellipsize_mode ()">
<a name="gtk-tool-item-get-ellipsize-mode"></a><h3>gtk_tool_item_get_ellipsize_mode ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  gtk_tool_item_get_ellipsize_mode    (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the ellipsize mode used for <em class="parameter"><code>tool_item</code></em>. Custom subclasses of
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function to find out how text should
be ellipsized.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> indicating how text in <em class="parameter"><code>tool_item</code></em>
should be ellipsized.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_icon_size ()">
<a name="gtk-tool-item-get-icon-size"></a><h3>gtk_tool_item_get_icon_size ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>         gtk_tool_item_get_icon_size         (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the icon size used for <em class="parameter"><code>tool_item</code></em>. Custom subclasses of
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function to find out what size icons
they should use.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> indicating the icon size
used for <em class="parameter"><code>tool_item</code></em>. <span class="annotation">[type int]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_orientation ()">
<a name="gtk-tool-item-get-orientation"></a><h3>gtk_tool_item_get_orientation ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      gtk_tool_item_get_orientation       (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the orientation used for <em class="parameter"><code>tool_item</code></em>. Custom subclasses of
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function to find out what size icons
they should use.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> indicating the orientation
used for <em class="parameter"><code>tool_item</code></em>

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_toolbar_style ()">
<a name="gtk-tool-item-get-toolbar-style"></a><h3>gtk_tool_item_get_toolbar_style ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>     gtk_tool_item_get_toolbar_style     (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the toolbar style used for <em class="parameter"><code>tool_item</code></em>. Custom subclasses of
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function in the handler of the
GtkToolItem::toolbar_reconfigured signal to find out in what style
the toolbar is displayed and change themselves accordingly 
</p>
<p>
Possibilities are:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem"> GTK_TOOLBAR_BOTH, meaning the tool item should show
both an icon and a label, stacked vertically </li>
<li class="listitem"> GTK_TOOLBAR_ICONS, meaning the toolbar shows
only icons </li>
<li class="listitem"> GTK_TOOLBAR_TEXT, meaning the tool item should only
show text</li>
<li class="listitem"> GTK_TOOLBAR_BOTH_HORIZ, meaning the tool item should show
both an icon and a label, arranged horizontally (however, note the 
<span class="type">"has_text_horizontally"</span> that makes tool buttons not
show labels when the toolbar style is GTK_TOOLBAR_BOTH_HORIZ.
</li>
</ul></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a class="link" href="gtk-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="type">GtkToolbarStyle</span></a> indicating the toolbar style used
for <em class="parameter"><code>tool_item</code></em>.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_relief_style ()">
<a name="gtk-tool-item-get-relief-style"></a><h3>gtk_tool_item_get_relief_style ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>      gtk_tool_item_get_relief_style      (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the relief style of <em class="parameter"><code>tool_item</code></em>. See <code class="function">gtk_button_set_relief_style()</code>.
Custom subclasses of <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function in the handler
of the <a class="link" href="GtkToolItem.html#GtkToolItem-toolbar-reconfigured" title='The "toolbar-reconfigured" signal'><span class="type">"toolbar_reconfigured"</span></a> signal to find out the
relief style of buttons.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gtk-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a> indicating the relief style used
for <em class="parameter"><code>tool_item</code></em>.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_text_alignment ()">
<a name="gtk-tool-item-get-text-alignment"></a><h3>gtk_tool_item_get_text_alignment ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>              gtk_tool_item_get_text_alignment    (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the text alignment used for <em class="parameter"><code>tool_item</code></em>. Custom subclasses of
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function to find out how text should
be aligned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>: 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> indicating the horizontal text alignment
used for <em class="parameter"><code>tool_item</code></em>

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_text_orientation ()">
<a name="gtk-tool-item-get-text-orientation"></a><h3>gtk_tool_item_get_text_orientation ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      gtk_tool_item_get_text_orientation  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the text orientation used for <em class="parameter"><code>tool_item</code></em>. Custom subclasses of
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function to find out how text should
be orientated.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> indicating the text orientation
used for <em class="parameter"><code>tool_item</code></em>

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_retrieve_proxy_menu_item ()">
<a name="gtk-tool-item-retrieve-proxy-menu-item"></a><h3>gtk_tool_item_retrieve_proxy_menu_item ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tool_item_retrieve_proxy_menu_item
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> that was last set by
<a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a>, ie. the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a>
that is going to appear in the overflow menu.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> that is going to appear in the
overflow menu for <em class="parameter"><code>tool_item</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_proxy_menu_item ()">
<a name="gtk-tool-item-get-proxy-menu-item"></a><h3>gtk_tool_item_get_proxy_menu_item ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tool_item_get_proxy_menu_item   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *menu_item_id</code></em>);</pre>
<p>
If <em class="parameter"><code>menu_item_id</code></em> matches the string passed to
<a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a> return the corresponding <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a>.
</p>
<p>
Custom subclasses of <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should use this function to update
their menu item when the <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> changes. That the
<em class="parameter"><code>menu_item_id</code></em>s must match ensures that a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> will not
inadvertently change a menu item that they did not create.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_item_id</code></em> :</span></p></td>
<td>a string used to identify the menu item
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> passed to
<a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a>, if the <em class="parameter"><code>menu_item_id</code></em>s match.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_set_proxy_menu_item ()">
<a name="gtk-tool-item-set-proxy-menu-item"></a><h3>gtk_tool_item_set_proxy_menu_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_set_proxy_menu_item   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *menu_item_id</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *menu_item</code></em>);</pre>
<p>
Sets the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> used in the toolbar overflow menu. The
<em class="parameter"><code>menu_item_id</code></em> is used to identify the caller of this function and
should also be used with <a class="link" href="GtkToolItem.html#gtk-tool-item-get-proxy-menu-item" title="gtk_tool_item_get_proxy_menu_item ()"><code class="function">gtk_tool_item_get_proxy_menu_item()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_item_id</code></em> :</span></p></td>
<td>a string used to identify <em class="parameter"><code>menu_item</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to be used in the overflow menu
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_rebuild_menu ()">
<a name="gtk-tool-item-rebuild-menu"></a><h3>gtk_tool_item_rebuild_menu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_rebuild_menu          (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Calling this function signals to the toolbar that the
overflow menu item for <em class="parameter"><code>tool_item</code></em> has changed. If the
overflow menu is visible when this function it called,
the menu will be rebuilt.
</p>
<p>
The function must be called when the tool item changes what it
will do in response to the <a class="link" href="GtkToolItem.html#GtkToolItem-create-menu-proxy" title='The "create-menu-proxy" signal'><span class="type">"create-menu-proxy"</span></a> signal.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_toolbar_reconfigured ()">
<a name="gtk-tool-item-toolbar-reconfigured"></a><h3>gtk_tool_item_toolbar_reconfigured ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_toolbar_reconfigured  (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Emits the signal <a class="link" href="GtkToolItem.html#GtkToolItem-toolbar-reconfigured" title='The "toolbar-reconfigured" signal'><span class="type">"toolbar_reconfigured"</span></a> on <em class="parameter"><code>tool_item</code></em>.
<a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a> and other <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> implementations use this function
to notify children, when some aspect of their configuration changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" title="gtk_tool_item_get_text_size_group ()">
<a name="gtk-tool-item-get-text-size-group"></a><h3>gtk_tool_item_get_text_size_group ()</h3>
<pre class="programlisting"><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="returnvalue">GtkSizeGroup</span></a> *      gtk_tool_item_get_text_size_group   (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
<p>
Returns the size group used for labels in <em class="parameter"><code>tool_item</code></em>. Custom subclasses of
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> should call this function and use the size group for labels.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="GtkToolItem.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "is-important" property'>
<a name="GtkToolItem--is-important"></a><h3>The <code class="literal">"is-important"</code> property</h3>
<pre class="programlisting">  "is-important"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "visible-horizontal" property'>
<a name="GtkToolItem--visible-horizontal"></a><h3>The <code class="literal">"visible-horizontal"</code> property</h3>
<pre class="programlisting">  "visible-horizontal"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the toolbar item is visible when the toolbar is in a horizontal orientation.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" title='The "visible-vertical" property'>
<a name="GtkToolItem--visible-vertical"></a><h3>The <code class="literal">"visible-vertical"</code> property</h3>
<pre class="programlisting">  "visible-vertical"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the toolbar item is visible when the toolbar is in a vertical orientation.</p>
<p>Default value: TRUE</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="GtkToolItem.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "create-menu-proxy" signal'>
<a name="GtkToolItem-create-menu-proxy"></a><h3>The <code class="literal">"create-menu-proxy"</code> signal</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)      : Run Last</pre>
<p>
This signal is emitted when the toolbar needs information from <em class="parameter"><code>tool_item</code></em>
about whether the item should appear in the toolbar overflow menu. In
response the tool item should either
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">call <a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a> with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
pointer and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to indicate that the item should not appear
in the overflow menu
</li>
<li class="listitem"> call <a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a> with a new menu
item and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, or
</li>
<li class="listitem"> return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to indicate that the signal was not
handled by the item. This means that
the item will not appear in the overflow menu unless a later handler
installs a menu item.
</li>
</ul></div>
<p>
</p>
<p>
The toolbar may cache the result of this signal. When the tool item changes
how it will respond to this signal it must call <a class="link" href="GtkToolItem.html#gtk-tool-item-rebuild-menu" title="gtk_tool_item_rebuild_menu ()"><code class="function">gtk_tool_item_rebuild_menu()</code></a>
to invalidate the cache and ensure that the toolbar rebuilds its overflow
menu.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>the object the signal was emitted on
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal was handled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "set-tooltip" signal'>
<a name="GtkToolItem-set-tooltip"></a><h3>The <code class="literal">"set-tooltip"</code> signal</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item,
                                                        <a class="link" href="GtkTooltips.html" title="GtkTooltips"><span class="type">GtkTooltips</span></a> *tooltips,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *tip_text,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *tip_private,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)        : Run Last</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkToolItem::set-tooltip</code> has been deprecated since version 2.12 and should not be used in newly-written code. With the new tooltip API, there is no
  need to use this signal anymore.</p>
</div>
<p>
This signal is emitted when the toolitem's tooltip changes.
Application developers can use <a class="link" href="GtkToolItem.html#gtk-tool-item-set-tooltip" title="gtk_tool_item_set_tooltip ()"><code class="function">gtk_tool_item_set_tooltip()</code></a> to
set the item's tooltip.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>the object the signal was emitted on
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltips</code></em> :</span></p></td>
<td>the <a class="link" href="GtkTooltips.html" title="GtkTooltips"><span class="type">GtkTooltips</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tip_text</code></em> :</span></p></td>
<td>the tooltip text
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tip_private</code></em> :</span></p></td>
<td>the tooltip private text
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal was handled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "toolbar-reconfigured" signal'>
<a name="GtkToolItem-toolbar-reconfigured"></a><h3>The <code class="literal">"toolbar-reconfigured"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)      : Run Last</pre>
<p>
This signal is emitted when some property of the toolbar that the
item is a child of changes. For custom subclasses of <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>,
the default handler of this signal use the functions
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem"><a class="link" href="GtkToolShell.html#gtk-tool-shell-get-orientation" title="gtk_tool_shell_get_orientation ()"><code class="function">gtk_tool_shell_get_orientation()</code></a></li>
<li class="listitem"><a class="link" href="GtkToolShell.html#gtk-tool-shell-get-style" title="gtk_tool_shell_get_style ()"><code class="function">gtk_tool_shell_get_style()</code></a></li>
<li class="listitem"><a class="link" href="GtkToolShell.html#gtk-tool-shell-get-icon-size" title="gtk_tool_shell_get_icon_size ()"><code class="function">gtk_tool_shell_get_icon_size()</code></a></li>
<li class="listitem"><a class="link" href="GtkToolShell.html#gtk-tool-shell-get-relief-style" title="gtk_tool_shell_get_relief_style ()"><code class="function">gtk_tool_shell_get_relief_style()</code></a></li>
</ul></div>
<p>
to find out what the toolbar should look like and change
themselves accordingly.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tool_item</code></em> :</span></p></td>
<td>the object the signal was emitted on
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="See Also">
<a name="GtkToolItem.see-also"></a><h2>See Also</h2>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a></span></p></td>
<td><p>The toolbar widget</p></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GtkToolButton.html" title="GtkToolButton"><span class="type">GtkToolButton</span></a></span></p></td>
<td><p>A subclass of <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> that displays buttons on
        the toolbar</p></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a></span></p></td>
<td><p>A subclass of <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> that separates groups of
        items on a toolbar</p></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>