File: classGFC_1_1Gtk_1_1Action.html

package info (click to toggle)
gfcui 2.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,420 kB
  • ctags: 18,023
  • sloc: cpp: 53,967; sh: 31,555; makefile: 1,322; perl: 108
file content (1022 lines) | stat: -rw-r--r-- 53,421 bytes parent folder | download | duplicates (3)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>GTK+ Foundation Classes</title>
  <link href="gfc.css" rel="stylesheet" type="text/css">
  <meta content="The GFC Development Team" name="author">
  <meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
 alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
 alt="GFC Logo" src="../images/gfc.png"
 style="width: 207px; height: 92px;"></td>
      <td
 style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
 alt="GFC Title Logo" src="../images/gfc-title.png"
 style="width: 418px; height: 76px;"><br>
      </td>
    </tr>
    <tr>
      <td
 style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
 style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
      </td>
      <td
 style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
 style="font-family: helvetica,arial,sans-serif;"><a
 href="../html/index.html">Main Page</a>&nbsp; |&nbsp; <a
 href="../html/namespaces.html">Namespace List</a>&nbsp; |&nbsp; <a
 href="classes.html">Alphabetical List</a>&nbsp; |&nbsp; <a
 href="../html/annotated.html">Class List</a>&nbsp; |&nbsp; <a
 href="../html/files.html">File List</a></small><br>
      </td>
    </tr>
  </tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>GFC::Gtk::Action Class Reference</h1>A GtkAction C++ wrapper class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="gtk_2action_8hh-source.html">gfc/gtk/action.hh</a>&gt;</code>
<p>
<p>Inheritance diagram for GFC::Gtk::Action:
<p><center><img src="classGFC_1_1Gtk_1_1Action.png" usemap="#GFC::Gtk::Action_map" border="0" alt=""></center>
<map name="GFC::Gtk::Action_map">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html" alt="GFC::G::Object" shape="rect" coords="0,112,142,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="0,56,142,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="0,0,142,24">
<area href="classGFC_1_1Gtk_1_1ToggleAction.html" alt="GFC::Gtk::ToggleAction" shape="rect" coords="0,224,142,248">
<area href="classGFC_1_1Gtk_1_1RadioAction.html" alt="GFC::Gtk::RadioAction" shape="rect" coords="0,280,142,304">
</map>
<a href="classGFC_1_1Gtk_1_1Action-members.html">List of all members.</a><h2>Property Prototypes</h2>
<ul>
<li><a class="anchor" name="z285_20" doxytag="GFC::Gtk::Action::label_property" ></a>
const LabelPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_20">label_property</a>
<dl class="el"><dd class="mdescRight"><a class="el" href="classGFC_1_1Gtk_1_1Label.html">Label</a> used for menu items and buttons that activate this action (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_0">prop_label()</a>). <br></dl><li><a class="anchor" name="z285_21" doxytag="GFC::Gtk::Action::short_label_property" ></a>
const ShortLabelPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_21">short_label_property</a>
<dl class="el"><dd class="mdescRight">Shorter label that may be used on toolbar buttons (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_1">prop_short_label()</a>). <br></dl><li><a class="anchor" name="z285_22" doxytag="GFC::Gtk::Action::tooltip_property" ></a>
const TooltipPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_22">tooltip_property</a>
<dl class="el"><dd class="mdescRight">A tooltip for this action (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_2">prop_tooltip()</a>). <br></dl><li><a class="anchor" name="z285_23" doxytag="GFC::Gtk::Action::stock_id_property" ></a>
const StockIdPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_23">stock_id_property</a>
<dl class="el"><dd class="mdescRight"><a class="el" href="classGFC_1_1Gtk_1_1Stock.html">Stock</a> icon displayed in widgets representing this action (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_3">prop_stock_id()</a>). <br></dl><li><a class="anchor" name="z285_24" doxytag="GFC::Gtk::Action::is_important_property" ></a>
const IsImportantPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_24">is_important_property</a>
<dl class="el"><dd class="mdescRight">Whether the action is considered important (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_4">prop_is_important()</a>). <br></dl><li><a class="anchor" name="z285_25" doxytag="GFC::Gtk::Action::hide_if_empty_property" ></a>
const HideIfEmptyPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_25">hide_if_empty_property</a>
<dl class="el"><dd class="mdescRight">Whether empty menu proxies for this action are hidden (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_5">prop_hide_if_empty()</a>). <br></dl><li><a class="anchor" name="z285_26" doxytag="GFC::Gtk::Action::sensitive_property" ></a>
const SensitivePropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_26">sensitive_property</a>
<dl class="el"><dd class="mdescRight">Whether the action is enabled (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_6">prop_sensitive()</a>). <br></dl><li><a class="anchor" name="z285_27" doxytag="GFC::Gtk::Action::visible_property" ></a>
const VisiblePropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_27">visible_property</a>
<dl class="el"><dd class="mdescRight">Whether the action is visible (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_7">prop_visible()</a>). <br></dl><li><a class="anchor" name="z285_28" doxytag="GFC::Gtk::Action::visible_horizontal_property" ></a>
const VisibleHorizontalPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_28">visible_horizontal_property</a>
<dl class="el"><dd class="mdescRight">Whether the toolbar item is visible in horizontal orientation (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_8">prop_visible_horizontal()</a>). <br></dl><li><a class="anchor" name="z285_29" doxytag="GFC::Gtk::Action::visible_vertical_property" ></a>
const VisibleVerticalPropertyType <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z285_29">visible_vertical_property</a>
<dl class="el"><dd class="mdescRight">Whether the toolbar item is visible in a vertical orientation (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_9">prop_visible_vertical()</a>). <br></dl></ul>
<h2>Signal Prototypes</h2>
<ul>
<li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ActivateSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z286_2">activate_signal</a>
<dl class="el"><dd class="mdescRight">Activate signal (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z291_0">sig_activate()</a>).  <a href="#z286_2"></a><br></dl></ul>
<h2>Public Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1Action.html#z287_1">Action</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;name, const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;label)
<dl class="el"><dd class="mdescRight">Constructs a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> object.  <a href="#z287_1"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1Action.html#z287_3">Action</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;name, const <a class="el" href="classGFC_1_1Gtk_1_1StockId.html">StockId</a> &amp;stock_id)
<dl class="el"><dd class="mdescRight">Constructs a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> object.  <a href="#z287_3"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1Action.html#z287_5">Action</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;name, const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;label, const <a class="el" href="classGFC_1_1Gtk_1_1StockId.html">StockId</a> &amp;stock_id)
<dl class="el"><dd class="mdescRight">Constructs a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> object.  <a href="#z287_5"></a><br></dl><li><a class="anchor" name="z287_6" doxytag="GFC::Gtk::Action::~Action" ></a>
virtual <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z287_6">~Action</a> ()
<dl class="el"><dd class="mdescRight">Destructor. <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li><a class="anchor" name="z288_0" doxytag="GFC::Gtk::Action::gtk_action" ></a>
GtkAction * <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_0">gtk_action</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkAction structure. <br></dl><li><a class="anchor" name="z288_1" doxytag="GFC::Gtk::Action::operator GtkAction *" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_1">operator GtkAction *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts an <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> to a GtkAction pointer. <br></dl><li><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_2">get_name</a> () const
<dl class="el"><dd class="mdescRight">Gets the name of the action.  <a href="#z288_2"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_3">get_proxies</a> (std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;proxies) const
<dl class="el"><dd class="mdescRight">Gets a list of the proxy widgets for an action.  <a href="#z288_3"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_4">get_sensitive</a> () const
<dl class="el"><dd class="mdescRight">Determines whether the action itself is sensitive.  <a href="#z288_4"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_5">get_visible</a> () const
<dl class="el"><dd class="mdescRight">Determines whether the action itself is visible.  <a href="#z288_5"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_6">is_sensitive</a> () const
<dl class="el"><dd class="mdescRight">Determines whether the action is effectively sensitive.  <a href="#z288_6"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_7">is_visible</a> () const
<dl class="el"><dd class="mdescRight">Determines whether the action is effectively visible.  <a href="#z288_7"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_0">activate</a> ()
<dl class="el"><dd class="mdescRight">Emits the "activate" signal on the specified action, if it isn't insensitive.  <a href="#z289_0"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1Image.html">Image</a> * <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_1">create_icon</a> (<a class="el" href="namespaceGFC_1_1Gtk.html#a325">IconSize</a> icon_size)
<dl class="el"><dd class="mdescRight">This method is intended for use by action implementations to create stock icons displayed in the proxy widgets.  <a href="#z289_1"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1MenuItem.html">MenuItem</a> * <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_2">create_menu_item</a> ()
<dl class="el"><dd class="mdescRight">Creates a menu item widget that proxies for the given action.  <a href="#z289_2"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1ToolItem.html">ToolItem</a> * <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_3">create_tool_item</a> ()
<dl class="el"><dd class="mdescRight">Creates a toolbar item widget that proxies for the given action.  <a href="#z289_3"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_4">connect_proxy</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;proxy)
<dl class="el"><dd class="mdescRight">Connects a widget to an action object as a proxy.  <a href="#z289_4"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_5">disconnect_proxy</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;proxy)
<dl class="el"><dd class="mdescRight">Disconnects a proxy widget from an action but does not destroy the widget.  <a href="#z289_5"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_6">connect_accelerator</a> ()
<dl class="el"><dd class="mdescRight">Installs the accelerator for the action, if the action has an accelerator path and group (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_9">set_accel_path()</a> and <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_10">set_accel_group()</a>).  <a href="#z289_6"></a><br></dl><li><a class="anchor" name="z289_7" doxytag="GFC::Gtk::Action::disconnect_accelerator" ></a>
void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_7">disconnect_accelerator</a> ()
<dl class="el"><dd class="mdescRight">Undoes the effect of one call to <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_6">connect_accelerator()</a>. <br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_9">set_accel_path</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;accel_path)
<dl class="el"><dd class="mdescRight">Sets the accelerator path for this action (used by action groups).  <a href="#z289_9"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_10">set_accel_group</a> (<a class="el" href="classGFC_1_1Gtk_1_1AccelGroup.html">AccelGroup</a> *accel_group)
<dl class="el"><dd class="mdescRight">Sets the <a class="el" href="classGFC_1_1Gtk_1_1AccelGroup.html">AccelGroup</a> in which the accelerator for this action will be installed (used by action groups).  <a href="#z289_10"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_12">set_tooltip</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;tooltip)
<dl class="el"><dd class="mdescRight">Sets the tooltip for the action.  <a href="#z289_12"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Property Proxies</div></td></tr>
<ul>
<li><a class="anchor" name="z290_0" doxytag="GFC::Gtk::Action::prop_label" ></a>
const LabelPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_0">prop_label</a> ()
<dl class="el"><dd class="mdescRight">The label used for menu items and buttons that activate this action (<a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> : Read / Write). <br></dl><li><a class="anchor" name="z290_1" doxytag="GFC::Gtk::Action::prop_short_label" ></a>
const ShortLabelPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_1">prop_short_label</a> ()
<dl class="el"><dd class="mdescRight">A shorter label that may be used on toolbar buttons (<a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> : Read / Write). <br></dl><li><a class="anchor" name="z290_2" doxytag="GFC::Gtk::Action::prop_tooltip" ></a>
const TooltipPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_2">prop_tooltip</a> ()
<dl class="el"><dd class="mdescRight">A tooltip for this action (<a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> : Read / Write). <br></dl><li><a class="anchor" name="z290_3" doxytag="GFC::Gtk::Action::prop_stock_id" ></a>
const StockIdPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_3">prop_stock_id</a> ()
<dl class="el"><dd class="mdescRight">The stock icon displayed in widgets representing this action (<a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> : Read / Write). <br></dl><li>const IsImportantPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_4">prop_is_important</a> ()
<dl class="el"><dd class="mdescRight">Whether the action is considered important.  <a href="#z290_4"></a><br></dl><li><a class="anchor" name="z290_5" doxytag="GFC::Gtk::Action::prop_hide_if_empty" ></a>
const HideIfEmptyPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_5">prop_hide_if_empty</a> ()
<dl class="el"><dd class="mdescRight">When true, empty menu proxies for this action are hidden (bool : Read / Write). <br></dl><li><a class="anchor" name="z290_6" doxytag="GFC::Gtk::Action::prop_sensitive" ></a>
const SensitivePropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_6">prop_sensitive</a> ()
<dl class="el"><dd class="mdescRight">Whether the action is enabled (bool : Read / Write). <br></dl><li><a class="anchor" name="z290_7" doxytag="GFC::Gtk::Action::prop_visible" ></a>
const VisiblePropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_7">prop_visible</a> ()
<dl class="el"><dd class="mdescRight">Whether the action is visible (bool : Read / Write). <br></dl><li><a class="anchor" name="z290_8" doxytag="GFC::Gtk::Action::prop_visible_horizontal" ></a>
const VisibleHorizontalPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_8">prop_visible_horizontal</a> ()
<dl class="el"><dd class="mdescRight">Whether the toolbar item is visible when the toolbar is in a horizontal orientation (bool : Read / Write). <br></dl><li><a class="anchor" name="z290_9" doxytag="GFC::Gtk::Action::prop_visible_vertical" ></a>
const VisibleVerticalPropertyProxy <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z290_9">prop_visible_vertical</a> ()
<dl class="el"><dd class="mdescRight">Whether the toolbar item is visible when the toolbar is in a vertical orientation (bool : Read / Write). <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Signal Proxies</div></td></tr>
<ul>
<li><a class="anchor" name="z291_0" doxytag="GFC::Gtk::Action::sig_activate" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">ActivateSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z291_0">sig_activate</a> ()
<dl class="el"><dd class="mdescRight">Connect to the activate_signal; emitted when the action is activated. <br></dl></ul>
<h2>Protected Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1Action.html#z283_0">Action</a> (GtkAction *action, bool <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html#z143_1">owns_reference</a>=true)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> from an existing GtkAction.  <a href="#z283_0"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z284_0">block_activate_from</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;proxy)
<dl class="el"><dd class="mdescRight">Disables calls to the <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_0">activate()</a> method by signals on the given proxy widget.  <a href="#z284_0"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z284_1">unblock_activate_from</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;proxy)
<dl class="el"><dd class="mdescRight">Re-enables calls to the <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_0">activate()</a> method by signals on the given proxy widget.  <a href="#z284_1"></a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkAction C++ wrapper class. 
<p>
The <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> object represents an action that can be triggered by a menu or toolbar item. Actions are operations that the user can be perform, along with some information how it should be presented in the interface. Each action provides methods to create icons, menu items and toolbar items representing itself.<p>
As well as the callback that is called when the action gets activated, the following also gets associated with the action:<ul>
<li>a name (not translated, for path lookup)</li><li>a label (translated, for display)</li><li>an accelerator</li><li>whether label indicates a stock id</li><li>a tooltip (optional, translated)</li><li>a toolbar label (optional, shorter than label)</li></ul>
<p>
The action will also have some state information:<ul>
<li>visible (shown/hidden)</li><li>sensitive (enabled/disabled)</li></ul>
<p>
Apart from regular actions, there are toggle actions, which can be toggled between two states and radio actions, of which only one in a group can be in the "active" state. Other actions can be implemented as GtkAction subclasses.<p>
Each action can have one or more proxy menu item, toolbar button or other proxy widgets. Proxies mirror the state of the action (text label, tooltip, icon, visible, sensitive, etc), and should change when the action's state changes. When the proxy is activated, it should activate its action. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="z283_0" doxytag="GFC::Gtk::Action::Action" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Action::Action           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">GtkAction *&nbsp;</td>
          <td class="mdname" nowrap> <em>action</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>owns_reference</em> = <code>true</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [explicit, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> from an existing GtkAction. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>action</em>&nbsp;</td><td>A pointer to a GtkAction. </td></tr>
    <tr><td></td><td valign=top><em>owns_reference</em>&nbsp;</td><td>Set false if the initial reference count is floating, set true if it's not.</td></tr>
  </table>
</dl>
<br>
The <em>action</em> can be a newly created GtkAction or an existing GtkAction (see <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html#z68_0">G::Object::Object</a>).     </td>
  </tr>
</table>
<a class="anchor" name="z287_1" doxytag="GFC::Gtk::Action::Action" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Action::Action           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>label</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>name</em>&nbsp;</td><td>A unique name for the action. </td></tr>
    <tr><td></td><td valign=top><em>label</em>&nbsp;</td><td>The label displayed in menu items and on buttons.</td></tr>
  </table>
</dl>
<br>
To add the action to a <a class="el" href="classGFC_1_1Gtk_1_1ActionGroup.html">ActionGroup</a> and set the accelerator for the action, call <a class="el" href="classGFC_1_1Gtk_1_1ActionGroup.html#z296_3">Gtk::ActionGroup::add_action()</a>.     </td>
  </tr>
</table>
<a class="anchor" name="z287_3" doxytag="GFC::Gtk::Action::Action" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Action::Action           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGFC_1_1Gtk_1_1StockId.html">StockId</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>stock_id</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>name</em>&nbsp;</td><td>A unique name for the action. </td></tr>
    <tr><td></td><td valign=top><em>stock_id</em>&nbsp;</td><td>The stock icon and label to display in widgets representing the action.</td></tr>
  </table>
</dl>
<br>
To add the action to a <a class="el" href="classGFC_1_1Gtk_1_1ActionGroup.html">ActionGroup</a> and set the accelerator for the action, call <a class="el" href="classGFC_1_1Gtk_1_1ActionGroup.html#z296_3">Gtk::ActionGroup::add_action()</a>.     </td>
  </tr>
</table>
<a class="anchor" name="z287_5" doxytag="GFC::Gtk::Action::Action" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Action::Action           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGFC_1_1Gtk_1_1StockId.html">StockId</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>stock_id</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a new <a class="el" href="classGFC_1_1Gtk_1_1Action.html">Action</a> object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>name</em>&nbsp;</td><td>A unique name for the action. </td></tr>
    <tr><td></td><td valign=top><em>label</em>&nbsp;</td><td>The label displayed in menu items and on buttons. </td></tr>
    <tr><td></td><td valign=top><em>stock_id</em>&nbsp;</td><td>The stock icon to display in widgets representing the action.</td></tr>
  </table>
</dl>
<br>
To add the action to a <a class="el" href="classGFC_1_1Gtk_1_1ActionGroup.html">ActionGroup</a> and set the accelerator for the action, call <a class="el" href="classGFC_1_1Gtk_1_1ActionGroup.html#z296_3">Gtk::ActionGroup::add_action()</a>. Note that <em>label</em> is displayed instead of the <em>stock_id</em> label.     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z289_0" doxytag="GFC::Gtk::Action::activate" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::activate           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Emits the "activate" signal on the specified action, if it isn't insensitive. 
<p>
This gets called by the proxy widgets when they get activated. It can also be used to manually activate an action.     </td>
  </tr>
</table>
<a class="anchor" name="z284_0" doxytag="GFC::Gtk::Action::block_activate_from" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::block_activate_from           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>proxy</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Disables calls to the <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_0">activate()</a> method by signals on the given proxy widget. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>proxy</em>&nbsp;</td><td>The action widget.</td></tr>
  </table>
</dl>
<br>
This is used to break notification loops for things like check or radio actions. This method is intended for use by action implementations.     </td>
  </tr>
</table>
<a class="anchor" name="z289_6" doxytag="GFC::Gtk::Action::connect_accelerator" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::connect_accelerator           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Installs the accelerator for the action, if the action has an accelerator path and group (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_9">set_accel_path()</a> and <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_10">set_accel_group()</a>). 
<p>
Since multiple proxies may independently trigger the installation of the accelerator, the action counts the number of times this method is called and doesn't remove the accelerator until <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_7">disconnect_accelerator()</a> has been called as many times.     </td>
  </tr>
</table>
<a class="anchor" name="z289_4" doxytag="GFC::Gtk::Action::connect_proxy" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::connect_proxy           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>proxy</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Connects a widget to an action object as a proxy. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>proxy</em>&nbsp;</td><td>The proxy widget</td></tr>
  </table>
</dl>
<br>
Synchronises various properties of the action with the widget (such as label text, icon, tooltip, etc), and attaches a callback so that the action gets activated when the proxy widget does. If the <em>widget</em> is already connected to an action, it is disconnected first.     </td>
  </tr>
</table>
<a class="anchor" name="z289_1" doxytag="GFC::Gtk::Action::create_icon" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1Image.html">Image</a>* GFC::Gtk::Action::create_icon           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceGFC_1_1Gtk.html#a325">IconSize</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>icon_size</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This method is intended for use by action implementations to create stock icons displayed in the proxy widgets. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>icon_size</em>&nbsp;</td><td>The size of the icon that should be created. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A widget that displays the icon for this action. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z289_2" doxytag="GFC::Gtk::Action::create_menu_item" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1MenuItem.html">MenuItem</a>* GFC::Gtk::Action::create_menu_item           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a menu item widget that proxies for the given action. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A menu item connected to the action. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z289_3" doxytag="GFC::Gtk::Action::create_tool_item" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1ToolItem.html">ToolItem</a>* GFC::Gtk::Action::create_tool_item           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a toolbar item widget that proxies for the given action. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A toolbar item connected to the action. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z289_5" doxytag="GFC::Gtk::Action::disconnect_proxy" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::disconnect_proxy           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>proxy</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Disconnects a proxy widget from an action but does not destroy the widget. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>proxy</em>&nbsp;</td><td>The proxy widget </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z288_2" doxytag="GFC::Gtk::Action::get_name" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> GFC::Gtk::Action::get_name           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the name of the action. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The name of the action. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z288_3" doxytag="GFC::Gtk::Action::get_proxies" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Action::get_proxies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>proxies</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets a list of the proxy widgets for an action. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>proxies</em>&nbsp;</td><td>A reference to a vector of <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> pointers to hold the proxy list. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the proxies vector is not empty, <em>false</em> otherwise. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z288_4" doxytag="GFC::Gtk::Action::get_sensitive" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Action::get_sensitive           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether the action itself is sensitive. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the action itself is sensitive.</dd></dl>
<br>
Note that this doesn't necessarily mean effective sensitivity (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_6">is_sensitive()</a> for that).     </td>
  </tr>
</table>
<a class="anchor" name="z288_5" doxytag="GFC::Gtk::Action::get_visible" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Action::get_visible           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether the action itself is visible. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the action itself is visible.</dd></dl>
<br>
Note that this doesn't necessarily mean effective visibility (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z288_7">is_visible()</a> for that).     </td>
  </tr>
</table>
<a class="anchor" name="z288_6" doxytag="GFC::Gtk::Action::is_sensitive" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Action::is_sensitive           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether the action is effectively sensitive. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the action and its associated action group are both sensitive. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z288_7" doxytag="GFC::Gtk::Action::is_visible" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Action::is_visible           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether the action is effectively visible. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the action and its associated action group are both visible. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z290_4" doxytag="GFC::Gtk::Action::prop_is_important" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const IsImportantPropertyProxy GFC::Gtk::Action::prop_is_important           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Whether the action is considered important. 
<p>
When TRUE, toolitem proxiesfor this action show text in <a class="el" href="namespaceGFC_1_1Gtk.html#a342a171">Gtk::TOOLBAR_BOTH_HORIZ</a> mode (bool : Read / Write).     </td>
  </tr>
</table>
<a class="anchor" name="z289_10" doxytag="GFC::Gtk::Action::set_accel_group" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::set_accel_group           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1AccelGroup.html">AccelGroup</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>accel_group</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the <a class="el" href="classGFC_1_1Gtk_1_1AccelGroup.html">AccelGroup</a> in which the accelerator for this action will be installed (used by action groups). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>accel_group</em>&nbsp;</td><td>An <a class="el" href="classGFC_1_1Gtk_1_1AccelGroup.html">AccelGroup</a>, or null. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z289_9" doxytag="GFC::Gtk::Action::set_accel_path" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::set_accel_path           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>accel_path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the accelerator path for this action (used by action groups). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>accel_path</em>&nbsp;</td><td>The accelerator path.</td></tr>
  </table>
</dl>
<br>
All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent (use by action groups).     </td>
  </tr>
</table>
<a class="anchor" name="z289_12" doxytag="GFC::Gtk::Action::set_tooltip" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::set_tooltip           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>tooltip</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the tooltip for the action. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>tooltip</em>&nbsp;</td><td>The tooltip to display for the action. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z284_1" doxytag="GFC::Gtk::Action::unblock_activate_from" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Action::unblock_activate_from           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>proxy</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Re-enables calls to the <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z289_0">activate()</a> method by signals on the given proxy widget. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>proxy</em>&nbsp;</td><td>The action widget.</td></tr>
  </table>
</dl>
<br>
This undoes the blocking done by <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z284_0">block_activate_from()</a>. This method is intended for use by action implementations.     </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="z286_2" doxytag="GFC::Gtk::Action::activate_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ActivateSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z286_2">GFC::Gtk::Action::activate_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Activate signal (see <a class="el" href="classGFC_1_1Gtk_1_1Action.html#z291_0">sig_activate()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function();
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="gtk_2action_8hh-source.html">gtk/action.hh</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:37 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>