File: classGtk_1_1MenuShell.html

package info (click to toggle)
gtkmm2.4 1%3A2.12.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 97,528 kB
  • ctags: 33,749
  • sloc: xml: 121,487; cpp: 17,100; sh: 8,982; makefile: 1,150; perl: 161
file content (809 lines) | stat: -rw-r--r-- 44,846 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gtkmm 2.4: Gtk::MenuShell Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>
<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1MenuShell.html">MenuShell</a></div>
<h1>Gtk::MenuShell Class Reference<br>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>,&nbsp;<a class="el" href="group__Containers.html">Container Widgets</a>,&nbsp;<a class="el" href="group__Menus.html">Menu classes</a>]</small>
</h1><!-- doxytag: class="Gtk::MenuShell" --><!-- doxytag: inherits="Gtk::Container" -->Inheritance diagram for Gtk::MenuShell:<p><center><img src="classGtk_1_1MenuShell__inherit__graph.png" border="0" usemap="#Gtk_1_1MenuShell__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1MenuShell__inherit__map">
<area href="classGtk_1_1Menu.html" shape="rect" coords="55,548,140,575" alt="">
<area href="classGtk_1_1MenuBar.html" shape="rect" coords="164,548,271,575" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="101,394,213,420" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="111,316,204,343" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="45,239,136,266" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="47,162,140,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="93,84,219,111" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="168,162,277,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="100,7,212,34" alt="">
<area href="classAtk_1_1Implementor.html" shape="rect" coords="160,239,291,266" alt="">
<area href="classGtk_1_1RecentChooserMenu.html" shape="rect" coords="5,626,189,652" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1MenuShell-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The abstract base class for <a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a> and <a class="el" href="classGtk_1_1MenuBar.html">Gtk::MenuBar</a>. 
<p>
It is a container of <a class="el" href="classGtk_1_1MenuItem.html">Gtk::MenuItem</a> objects arranged in a list which can be navigated, selected, and activated by the user to perform application functions. It can have a submenu associated with it, allowing for nested hierarchical menus. You can use <a class="el" href="classGtk_1_1MenuShell.html#24d5b1a4a61941006e544a4f5a230917">append()</a>, <a class="el" href="classGtk_1_1MenuShell.html#5aa0142b2f86f511ac5f98ce892d03bd">prepend()</a> and <a class="el" href="classGtk_1_1MenuShell.html#a3243bef17ebc3ed18b3885194e7d9a3">insert()</a> to add <a class="el" href="classGtk_1_1MenuItem.html">Gtk::MenuItem</a> widgets, but you will probably find it more convenient to use the STL-style <a class="el" href="classGtk_1_1MenuShell.html#3be08eb46038a65ca6c9b5b35f310672">items()</a> interface with the Gtk::Menu_Helpers::MenuElem() class. 
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">Menu_Helpers::MenuList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#8d79bb921d0a3ffca5e4c9d8f77648a2">MenuList</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#b854722984e3fc3e85d2ad7c7ba20c2f">accelerate</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; parent)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initializes menu accelerators.  <a href="#b854722984e3fc3e85d2ad7c7ba20c2f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#b871eaa94a1566f520beb132ba3794c4">accelerate</a> (<a class="el" href="classGtk_1_1Window.html">Window</a>&amp; window)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initializes menu accelerators.  <a href="#b871eaa94a1566f520beb132ba3794c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#6e5136fc61381ae6f2e529906066680a">activate_item</a> (<a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp; menu_item, bool force_deactivate=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#24d5b1a4a61941006e544a4f5a230917">append</a> (<a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp; menu_item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#bc8e49ce84e81319c81bdc58020245c0">cancel</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cancels the selection within the menu shell.  <a href="#bc8e49ce84e81319c81bdc58020245c0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#9b6af9110758ce34856b005b19a7a2fb">deactivate</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#b90ff16ed2fcba9aa3460569d45f1c1a">deselect</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#ebec809427b8fc3f3b57e43f632b42f9">get_take_focus</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns: <code>true</code> if the menu shell will take the keyboard focus on popup.  <a href="#ebec809427b8fc3f3b57e43f632b42f9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkMenuShell*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#f0006f8bc57e3a8b02d25c38ac923273">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#f0006f8bc57e3a8b02d25c38ac923273"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkMenuShell*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#bb7c2641f9e3624f3225dcf76d8b994c">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#bb7c2641f9e3624f3225dcf76d8b994c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#a3243bef17ebc3ed18b3885194e7d9a3">insert</a> (<a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp; menu_item, int position)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">MenuList</a>&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#72bc9b6917013143b6902d5b4078eb80">items</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">MenuList</a>&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#3be08eb46038a65ca6c9b5b35f310672">items</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#5aa0142b2f86f511ac5f98ce892d03bd">prepend</a> (<a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp; menu_item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<br>
 bool &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#3e74031381a0e9dc865129ef748783ce">property_take_focus</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A boolean that determines whether the menu grabs the keyboard focus.  <a href="#3e74031381a0e9dc865129ef748783ce"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#98a38ba541cff7ba9f990e24adeb6642">property_take_focus</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A boolean that determines whether the menu grabs the keyboard focus.  <a href="#98a38ba541cff7ba9f990e24adeb6642"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#882dab72c89e462a879a6b6179464cc2">select_first</a> (bool search_sensitive=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Select the first visible or selectable child of the menu shell; don't select tearoff items unless the only item is a tearoff item.  <a href="#882dab72c89e462a879a6b6179464cc2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#c38fde346621b24154540f83243956fd">select_item</a> (<a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp; menu_item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#c076143bf45a4c69cd65965a7779a963">set_take_focus</a> (bool take_focus=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If <em>take_focus</em> is <code>true</code> (the default) the menu shell will take the keyboard focus so that it will receive all keyboard events which is needed to enable keyboard navigation in menus.  <a href="#c076143bf45a4c69cd65965a7779a963"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#14c8a5dcb0d5afa8b1ab93ae149cf603">signal_deactivate</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_deactivate()</code> </dd></dl>
 <a href="#14c8a5dcb0d5afa8b1ab93ae149cf603"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; gboolean,<br>
 int &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#29358f68b2c16afdab5147f7021368e8">signal_move_selected</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>gboolean on_my_move_selected(int distance)</code> </dd></dl>
 <a href="#29358f68b2c16afdab5147f7021368e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#fe3aa91d39c133487f5ee87afdf3e255">signal_selection_done</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_selection_done()</code> </dd></dl>
 <a href="#fe3aa91d39c133487f5ee87afdf3e255"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#b7117e65877843c10ad7d5b705a770e7">~MenuShell</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#6af3cf3fd23271ebe15daa3210339bfe">MenuShell</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#eceb71b253394dbc8ca282feb8ae8e58">on_deactivate</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#407cbaed85670dc36c35a67cdefd015b">on_selection_done</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#b995626146f07250e2716f26dd34e848">Menu_Helpers::MenuList</a></td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1MenuShell.html">Gtk::MenuShell</a>*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuShell.html#5a3342e817b330a6b353d25c37ea2359">wrap</a> (GtkMenuShell* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#5a3342e817b330a6b353d25c37ea2359"></a><br></td></tr>
</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="8d79bb921d0a3ffca5e4c9d8f77648a2"></a><!-- doxytag: member="Gtk::MenuShell::MenuList" ref="8d79bb921d0a3ffca5e4c9d8f77648a2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">Menu_Helpers::MenuList</a> <a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">Gtk::MenuShell::MenuList</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b7117e65877843c10ad7d5b705a770e7"></a><!-- doxytag: member="Gtk::MenuShell::~MenuShell" ref="b7117e65877843c10ad7d5b705a770e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::MenuShell::~MenuShell           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="6af3cf3fd23271ebe15daa3210339bfe"></a><!-- doxytag: member="Gtk::MenuShell::MenuShell" ref="6af3cf3fd23271ebe15daa3210339bfe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::MenuShell::MenuShell           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b854722984e3fc3e85d2ad7c7ba20c2f"></a><!-- doxytag: member="Gtk::MenuShell::accelerate" ref="b854722984e3fc3e85d2ad7c7ba20c2f" args="(Widget &amp;parent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::accelerate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>parent</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initializes menu accelerators. 
<p>
Does the same as the <a class="el" href="classGtk_1_1MenuShell.html#b871eaa94a1566f520beb132ba3794c4">accelerate(Window&amp; window)</a> method. But you can use any parent widget where the menu is used. This method then gets the toplevel window using <a class="el" href="classGtk_1_1Widget.html#b91722dd77223c450b8dfaa45af59c1a">Widget::get_toplevel()</a> and uses this window for registering the menu accelerators.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Parent widget used as starting point for searching the toplevel window. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="b871eaa94a1566f520beb132ba3794c4"></a><!-- doxytag: member="Gtk::MenuShell::accelerate" ref="b871eaa94a1566f520beb132ba3794c4" args="(Window &amp;window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::accelerate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Window.html">Window</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>window</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initializes menu accelerators. 
<p>
This method initializes the menu accelerators. Therefore an <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> object is needed which is stored in each <a class="el" href="classGtk_1_1Window.html">Window</a> object in the Gtkmm library implementation.<p>
When using <a class="el" href="classGtk_1_1MenuBar.html">MenuBar</a> and <a class="el" href="classGtk_1_1OptionMenu.html">OptionMenu</a> objects this method is called automatically when the menus are realized. Because most likely the <a class="el" href="classGtk_1_1MenuBar.html">MenuBar</a> and <a class="el" href="classGtk_1_1OptionMenu.html">OptionMenu</a> is attached to a window at this time and the window object can be found automatically.<p>
Important note when using popup menus: If you are using accelerated menu entries inside a popup menu you have to call the <a class="el" href="classGtk_1_1MenuShell.html#b871eaa94a1566f520beb132ba3794c4">accelerate()</a> method manually. This is because the popup menu is not connected to any window and the accelerators should be initialized even before the popup menu is shown. The right place to call the <a class="el" href="classGtk_1_1MenuShell.html#b871eaa94a1566f520beb132ba3794c4">accelerate()</a> method is right after the popup menu has been build.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>window</em>&nbsp;</td><td><a class="el" href="classGtk_1_1Window.html">Window</a> where the menu is shown. Inside this window the <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> object is stored that will be used to initialize the accelerators. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="6e5136fc61381ae6f2e529906066680a"></a><!-- doxytag: member="Gtk::MenuShell::activate_item" ref="6e5136fc61381ae6f2e529906066680a" args="(MenuItem &amp;menu_item, bool force_deactivate=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::activate_item           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>menu_item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>force_deactivate</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="24d5b1a4a61941006e544a4f5a230917"></a><!-- doxytag: member="Gtk::MenuShell::append" ref="24d5b1a4a61941006e544a4f5a230917" args="(MenuItem &amp;menu_item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::append           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>menu_item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bc8e49ce84e81319c81bdc58020245c0"></a><!-- doxytag: member="Gtk::MenuShell::cancel" ref="bc8e49ce84e81319c81bdc58020245c0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::cancel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cancels the selection within the menu shell. 
<p>
<dl compact><dt><b><a class="el" href="newin2p4s.html#_newin2p4s000205">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div><p>
<a class="anchor" name="9b6af9110758ce34856b005b19a7a2fb"></a><!-- doxytag: member="Gtk::MenuShell::deactivate" ref="9b6af9110758ce34856b005b19a7a2fb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::deactivate           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="b90ff16ed2fcba9aa3460569d45f1c1a"></a><!-- doxytag: member="Gtk::MenuShell::deselect" ref="b90ff16ed2fcba9aa3460569d45f1c1a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::deselect           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ebec809427b8fc3f3b57e43f632b42f9"></a><!-- doxytag: member="Gtk::MenuShell::get_take_focus" ref="ebec809427b8fc3f3b57e43f632b42f9" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::MenuShell::get_take_focus           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns: <code>true</code> if the menu shell will take the keyboard focus on popup. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the menu shell will take the keyboard focus on popup.</dd></dl>
<dl compact><dt><b><a class="el" href="newin2p8s.html#_newin2p8s000031">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>

</div>
</div><p>
<a class="anchor" name="f0006f8bc57e3a8b02d25c38ac923273"></a><!-- doxytag: member="Gtk::MenuShell::gobj" ref="f0006f8bc57e3a8b02d25c38ac923273" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkMenuShell* Gtk::MenuShell::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GtkObject. 
<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Container.html#a9c925218a599711b415da4aafca475d">Gtk::Container</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1Menu.html#5f8a0a22d44f49520d73c7e894a8c43f">Gtk::Menu</a>, <a class="el" href="classGtk_1_1MenuBar.html#e300f08366193bc2d5768180274e492c">Gtk::MenuBar</a>, and <a class="el" href="classGtk_1_1RecentChooserMenu.html#d90f0a4a90924aef0f3a00afaf57e015">Gtk::RecentChooserMenu</a>.
</div>
</div><p>
<a class="anchor" name="bb7c2641f9e3624f3225dcf76d8b994c"></a><!-- doxytag: member="Gtk::MenuShell::gobj" ref="bb7c2641f9e3624f3225dcf76d8b994c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkMenuShell* Gtk::MenuShell::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GtkObject. 
<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Container.html#1b45ff015f4b09b143699bad9d4e423d">Gtk::Container</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1Menu.html#08434c6b137ce53eb939b09d577aa9bb">Gtk::Menu</a>, <a class="el" href="classGtk_1_1MenuBar.html#3c2333c3c7c03939590bb2e41b4aaa63">Gtk::MenuBar</a>, and <a class="el" href="classGtk_1_1RecentChooserMenu.html#e3863ae813b85f9b9ac6f4075370a55e">Gtk::RecentChooserMenu</a>.
</div>
</div><p>
<a class="anchor" name="a3243bef17ebc3ed18b3885194e7d9a3"></a><!-- doxytag: member="Gtk::MenuShell::insert" ref="a3243bef17ebc3ed18b3885194e7d9a3" args="(MenuItem &amp;menu_item, int position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::insert           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>menu_item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>position</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="72bc9b6917013143b6902d5b4078eb80"></a><!-- doxytag: member="Gtk::MenuShell::items" ref="72bc9b6917013143b6902d5b4078eb80" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">MenuList</a>&amp; Gtk::MenuShell::items           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="3be08eb46038a65ca6c9b5b35f310672"></a><!-- doxytag: member="Gtk::MenuShell::items" ref="3be08eb46038a65ca6c9b5b35f310672" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">MenuList</a>&amp; Gtk::MenuShell::items           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="eceb71b253394dbc8ca282feb8ae8e58"></a><!-- doxytag: member="Gtk::MenuShell::on_deactivate" ref="eceb71b253394dbc8ca282feb8ae8e58" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::MenuShell::on_deactivate           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="407cbaed85670dc36c35a67cdefd015b"></a><!-- doxytag: member="Gtk::MenuShell::on_selection_done" ref="407cbaed85670dc36c35a67cdefd015b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::MenuShell::on_selection_done           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="5aa0142b2f86f511ac5f98ce892d03bd"></a><!-- doxytag: member="Gtk::MenuShell::prepend" ref="5aa0142b2f86f511ac5f98ce892d03bd" args="(MenuItem &amp;menu_item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::prepend           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>menu_item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="3e74031381a0e9dc865129ef748783ce"></a><!-- doxytag: member="Gtk::MenuShell::property_take_focus" ref="3e74031381a0e9dc865129ef748783ce" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gtk::MenuShell::property_take_focus           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A boolean that determines whether the menu grabs the keyboard focus. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div><p>
<a class="anchor" name="98a38ba541cff7ba9f990e24adeb6642"></a><!-- doxytag: member="Gtk::MenuShell::property_take_focus" ref="98a38ba541cff7ba9f990e24adeb6642" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::MenuShell::property_take_focus           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A boolean that determines whether the menu grabs the keyboard focus. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div><p>
<a class="anchor" name="882dab72c89e462a879a6b6179464cc2"></a><!-- doxytag: member="Gtk::MenuShell::select_first" ref="882dab72c89e462a879a6b6179464cc2" args="(bool search_sensitive=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::select_first           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>search_sensitive</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Select the first visible or selectable child of the menu shell; don't select tearoff items unless the only item is a tearoff item. 
<p>
<dl compact><dt><b><a class="el" href="newin2p2s.html#_newin2p2s000101">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>search_sensitive</em>&nbsp;</td><td>If <code>true</code>, search for the first selectable menu item, otherwise select nothing if the first item isn't sensitive. This should be <code>false</code> if the menu is being popped up initially. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="c38fde346621b24154540f83243956fd"></a><!-- doxytag: member="Gtk::MenuShell::select_item" ref="c38fde346621b24154540f83243956fd" args="(MenuItem &amp;menu_item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::select_item           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>menu_item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c076143bf45a4c69cd65965a7779a963"></a><!-- doxytag: member="Gtk::MenuShell::set_take_focus" ref="c076143bf45a4c69cd65965a7779a963" args="(bool take_focus=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuShell::set_take_focus           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_focus</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If <em>take_focus</em> is <code>true</code> (the default) the menu shell will take the keyboard focus so that it will receive all keyboard events which is needed to enable keyboard navigation in menus. 
<p>
Setting <em>take_focus</em> to <code>false</code> is useful only for special applications like virtual keyboard implementations which should not take keyboard focus.<p>
The <em>take_focus</em> state of a menu or menu bar is automatically propagated to submenus whenever a submenu is popped up, so you don't have to worry about recursively setting it for your entire menu hierarchy. Only when programmatically picking a submenu and popping it up manually, the <em>take_focus</em> property of the submenu needs to be set explicitely.<p>
Note that setting it to <code>false</code> has side-effects:<p>
If the focus is in some other app, it keeps the focus and keynav in the menu doesn't work. Consequently, keynav on the menu will only work if the focus is on some toplevel owned by the onscreen keyboard.<p>
To avoid confusing the user, menus with <em>take_focus</em> set to <code>false</code> should not display mnemonics or accelerators, since it cannot be guaranteed that they will work.<p>
See also gdk_keyboard_grab()<p>
<dl compact><dt><b><a class="el" href="newin2p8s.html#_newin2p8s000032">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>take_focus</em>&nbsp;</td><td><code>true</code> if the menu shell should take the keyboard focus on popup. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="14c8a5dcb0d5afa8b1ab93ae149cf603"></a><!-- doxytag: member="Gtk::MenuShell::signal_deactivate" ref="14c8a5dcb0d5afa8b1ab93ae149cf603" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::MenuShell::signal_deactivate           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_deactivate()</code> </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="29358f68b2c16afdab5147f7021368e8"></a><!-- doxytag: member="Gtk::MenuShell::signal_move_selected" ref="29358f68b2c16afdab5147f7021368e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; gboolean,int &gt; Gtk::MenuShell::signal_move_selected           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>gboolean on_my_move_selected(int distance)</code> </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="fe3aa91d39c133487f5ee87afdf3e255"></a><!-- doxytag: member="Gtk::MenuShell::signal_selection_done" ref="fe3aa91d39c133487f5ee87afdf3e255" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::MenuShell::signal_selection_done           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_selection_done()</code> </dd></dl>

<p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="b995626146f07250e2716f26dd34e848"></a><!-- doxytag: member="Gtk::MenuShell::Menu_Helpers::MenuList" ref="b995626146f07250e2716f26dd34e848" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classGtk_1_1Menu__Helpers_1_1MenuList.html">Menu_Helpers::MenuList</a><code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="5a3342e817b330a6b353d25c37ea2359"></a><!-- doxytag: member="Gtk::MenuShell::wrap" ref="5a3342e817b330a6b353d25c37ea2359" args="(GtkMenuShell *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1MenuShell.html">Gtk::MenuShell</a>* wrap           </td>
          <td>(</td>
          <td class="paramtype">GtkMenuShell *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="menushell_8h.html">menushell.h</a></ul>
</div>
<!-- end main content -->

<hr><address><small>
Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>