File: classGtk_1_1AccelGroup.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (733 lines) | stat: -rw-r--r-- 52,257 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::AccelGroup Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::AccelGroup Class Reference</h1><!-- doxytag: class="Gtk::AccelGroup" --><!-- doxytag: inherits="Glib::Object" -->
<p>A <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> represents a group of keyboard accelerators, typically attached to a toplevel <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled...">Gtk::Window</a> (with <a class="el" href="classGtk_1_1Window.html#ad15a4530150d8464ee06bb2218e582e9" title="Associate accel_group with window, such that calling gtk_accel_groups_activate()...">Gtk::Window::add_accel_group()</a>). <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::AccelGroup:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1AccelGroup__coll__graph.png" border="0" usemap="#Gtk_1_1AccelGroup_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1AccelGroup_coll__map" id="Gtk_1_1AccelGroup_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1AccelGroup-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a921454aa4102ac809898b1faf180bffe">~AccelGroup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkAccelGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#ae8ca2f2497370a596bdf0449b0e098ab">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ae8ca2f2497370a596bdf0449b0e098ab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkAccelGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a99694998d55ecd7fabc812d631a77fea">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a99694998d55ecd7fabc812d631a77fea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkAccelGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a41105a95dd1df662b3e7f24c5b554864">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a41105a95dd1df662b3e7f24c5b554864"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#acf8fe4511f6a53f163b7f2d8ca72e7ba">get_is_locked</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks are added and removed using <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group.">lock()</a> and <a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0" title="Undoes the last call to lock() on this accel_group.">unlock()</a>. <a href="#acf8fe4511f6a53f163b7f2d8ca72e7ba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#afcae77f222e1537309e1721619f68dde">get_modifier_mask</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> representing the mask for this <em>accel_group</em>. <a href="#afcae77f222e1537309e1721619f68dde"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709">lock</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks the given accelerator group. <a href="#ae126cbabe5dd6262e341ee9b8be0e709"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0">unlock</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Undoes the last call to <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group.">lock()</a> on this <em>accel_group</em>. <a href="#af164d66f76728aa1606f9eddde5a7ef0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a5fa48d11aeeac0bd1e680e523dad727b">disconnect_key</a> (guint accel_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accel_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes an accelerator previously installed through connect(). <a href="#a5fa48d11aeeac0bd1e680e523dad727b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a2e355f6b213074e91efc9f05204e5002">activate</a> (GQuark accel_quark, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> &gt;&amp; acceleratable, guint accel_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accel_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the first accelerator in <em>accel_group</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates it. <a href="#a2e355f6b213074e91efc9f05204e5002"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; bool, <br class="typebreak"/>
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> &gt; &amp;, guint, <br class="typebreak"/>
<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#aa39bbb7e95ee8c7a66af6399cef4495a">signal_accel_activate</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; void, <br class="typebreak"/>
guint, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>, <br class="typebreak"/>
GClosure* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a8d1191d47fc96c2f02aacb0e0423f5c4">signal_accel_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a935480b98985d9a8c2905e68eafae839">create</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> object. <a href="#a935480b98985d9a8c2905e68eafae839"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a4c5da10b8e3b51dcd4fe403959e2d4a3">valid</a> (guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifiers)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. <a href="#a4c5da10b8e3b51dcd4fe403959e2d4a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a0035b04d82a93f3fb4ed26812da9144a">parse</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; accelerator, guint&amp; accelerator_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&amp; accelerator_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse the accelerator string. <a href="#a0035b04d82a93f3fb4ed26812da9144a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a173b659482b4abc35862ae3c8d0645d3">name</a> (guint accelerator_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accelerator_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an accelerator keyval and modifier mask into a string parseable by <a class="el" href="classGtk_1_1AccelGroup.html#a0035b04d82a93f3fb4ed26812da9144a" title="Parse the accelerator string.">parse()</a>. <a href="#a173b659482b4abc35862ae3c8d0645d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#af182fea262e6d23952ebc49d8e1a6fba">get_label</a> (guint accelerator_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accelerator_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. <a href="#af182fea262e6d23952ebc49d8e1a6fba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a42258983a28aa7f0c4ba65b1abf9806c">set_default_mod_mask</a> (<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> default_mod_mask)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the modifiers that will be considered significant for keyboard accelerators. <a href="#a42258983a28aa7f0c4ba65b1abf9806c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a1e2f9b75e06dc4d3e915261e351525d1">get_default_mod_mask</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classGtk_1_1AccelGroup.html#a42258983a28aa7f0c4ba65b1abf9806c" title="Sets the modifiers that will be considered significant for keyboard accelerators...">set_default_mod_mask()</a>. <a href="#a1e2f9b75e06dc4d3e915261e351525d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a33d82a03079c9205623e967157adef9e">activate</a> (<a class="el" href="classGtk_1_1Object.html">Gtk::Object</a>&amp; object, guint accel_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accel_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the first accelerator in any <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> attached to <em>object</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates that accelerator. <a href="#a33d82a03079c9205623e967157adef9e"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#aea3002ff86e240ca8e95eba9bb8ffc2d">AccelGroup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a24149f08990137078258480b658932e7">on_accel_changed</a> (guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifier, GClosure* accel_closure)</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">Gtk::AccelGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a6dd6cb005299768bbfc173eb56319fc7">wrap</a> (GtkAccelGroup* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a6dd6cb005299768bbfc173eb56319fc7"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> represents a group of keyboard accelerators, typically attached to a toplevel <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled...">Gtk::Window</a> (with <a class="el" href="classGtk_1_1Window.html#ad15a4530150d8464ee06bb2218e582e9" title="Associate accel_group with window, such that calling gtk_accel_groups_activate()...">Gtk::Window::add_accel_group()</a>). </p>
<p>Usually you won't need to create a <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> directly; instead, gtkmm automatically sets up the accelerators for your menus. Note that accelerators are different from mnemonics. Accelerators are shortcuts for activating a menu item; they appear alongside the menu item for which they're a shortcut. For example "Ctrl+Q" might appear alongside the "Quit" menu item. Mnemonics are shortcuts for GUI elements such as text entries or buttons; they appear as underlined characters. See the <a class="el" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text.">Gtk::Label</a> constructor. <a class="el" href="classGtk_1_1Menu.html" title="A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated...">Menu</a> items can have both accelerators and mnemonics, of course.</p>
<p>You can use <a class="el" href="classGtk_1_1Window.html#a30de41223b51216f573305b03c6e20ba" title="Returns a default accel group for this window This is a gtkmm-specific function.">Gtk::Window::get_accel_group()</a> to get an accel group for that window, then use it with other widgets too. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a921454aa4102ac809898b1faf180bffe"></a><!-- doxytag: member="Gtk::AccelGroup::~AccelGroup" ref="a921454aa4102ac809898b1faf180bffe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::AccelGroup::~AccelGroup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a33d82a03079c9205623e967157adef9e"></a><!-- doxytag: member="Gtk::AccelGroup::activate" ref="a33d82a03079c9205623e967157adef9e" args="(Gtk::Object &amp;object, guint accel_key, Gdk::ModifierType accel_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gtk::AccelGroup::activate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Object.html">Gtk::Object</a>&amp;&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>accel_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>accel_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finds the first accelerator in any <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> attached to <em>object</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates that accelerator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The <a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such...">Object</a>, usually a <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled...">Gtk::Window</a>, on which to activate the accelerator. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_key</em>&#160;</td><td>Accelerator keyval from a key event. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_mods</em>&#160;</td><td>Keyboard state mask from a key event. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an accelerator was activated and handled this keypress. </dd></dl>

</div>
</div>
<a class="anchor" id="a2e355f6b213074e91efc9f05204e5002"></a><!-- doxytag: member="Gtk::AccelGroup::activate" ref="a2e355f6b213074e91efc9f05204e5002" args="(GQuark accel_quark, const Glib::RefPtr&lt; Glib::Object &gt; &amp;acceleratable, guint accel_key, Gdk::ModifierType accel_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::AccelGroup::activate </td>
          <td>(</td>
          <td class="paramtype">GQuark&#160;</td>
          <td class="paramname"> <em>accel_quark</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> &gt; &amp;&#160;</td>
          <td class="paramname"> <em>acceleratable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>accel_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>accel_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finds the first accelerator in <em>accel_group</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates it. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accel_quark</em>&#160;</td><td>The quark for the accelerator name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>acceleratable</em>&#160;</td><td>The <a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such...">Object</a>, usually a <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled...">Gtk::Window</a>, on which to activate the accelerator. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_key</em>&#160;</td><td>Accelerator keyval from a key event. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_mods</em>&#160;</td><td>Keyboard state mask from a key event. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an accelerator was activated and handled this keypress. </dd></dl>

</div>
</div>
<a class="anchor" id="a935480b98985d9a8c2905e68eafae839"></a><!-- doxytag: member="Gtk::AccelGroup::create" ref="a935480b98985d9a8c2905e68eafae839" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; Gtk::AccelGroup::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A Glib::RefPtr&lt;&gt; to a newly created <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="a5fa48d11aeeac0bd1e680e523dad727b"></a><!-- doxytag: member="Gtk::AccelGroup::disconnect_key" ref="a5fa48d11aeeac0bd1e680e523dad727b" args="(guint accel_key, Gdk::ModifierType accel_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::AccelGroup::disconnect_key </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>accel_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>accel_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes an accelerator previously installed through connect(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accel_key</em>&#160;</td><td>Key value of the accelerator. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_mods</em>&#160;</td><td>Modifier combination of the accelerator. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if there was an accelerator which could be removed, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a1e2f9b75e06dc4d3e915261e351525d1"></a><!-- doxytag: member="Gtk::AccelGroup::get_default_mod_mask" ref="a1e2f9b75e06dc4d3e915261e351525d1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> Gtk::AccelGroup::get_default_mod_mask </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classGtk_1_1AccelGroup.html#a42258983a28aa7f0c4ba65b1abf9806c" title="Sets the modifiers that will be considered significant for keyboard accelerators...">set_default_mod_mask()</a>. </p>

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

<p>Locks are added and removed using <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group.">lock()</a> and <a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0" title="Undoes the last call to lock() on this accel_group.">unlock()</a>. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000014">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if there are 1 or more locks on the <em>accel_group</em>, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="af182fea262e6d23952ebc49d8e1a6fba"></a><!-- doxytag: member="Gtk::AccelGroup::get_label" ref="af182fea262e6d23952ebc49d8e1a6fba" args="(guint accelerator_key, Gdk::ModifierType accelerator_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::AccelGroup::get_label </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>accelerator_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>accelerator_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000035">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accelerator_key</em>&#160;</td><td>Accelerator keyval. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accelerator_mods</em>&#160;</td><td>Accelerator modifier mask. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated string representing the accelerator. </dd></dl>

</div>
</div>
<a class="anchor" id="afcae77f222e1537309e1721619f68dde"></a><!-- doxytag: member="Gtk::AccelGroup::get_modifier_mask" ref="afcae77f222e1537309e1721619f68dde" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> Gtk::AccelGroup::get_modifier_mask </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> representing the mask for this <em>accel_group</em>. </p>
<p>For example, <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">Gdk::CONTROL_MASK</a>, <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a2a80cbf95ae263d1cc7c93a379c8fb8e">Gdk::SHIFT_MASK</a>, etc.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000015">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The modifier mask for this accel group. </dd></dl>

</div>
</div>
<a class="anchor" id="a99694998d55ecd7fabc812d631a77fea"></a><!-- doxytag: member="Gtk::AccelGroup::gobj" ref="a99694998d55ecd7fabc812d631a77fea" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkAccelGroup* Gtk::AccelGroup::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="ae8ca2f2497370a596bdf0449b0e098ab"></a><!-- doxytag: member="Gtk::AccelGroup::gobj" ref="ae8ca2f2497370a596bdf0449b0e098ab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkAccelGroup* Gtk::AccelGroup::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

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

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

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

<p>Locks the given accelerator group. </p>
<p>Locking an acelerator group prevents the accelerators contained within it to be changed during runtime. Refer to <a class="el" href="namespaceGtk_1_1AccelMap.html#a95ea03719ffcda0d038252d3886f935b" title="Changes the accel_key and accel_mods currently associated with accel_path.">Gtk::AccelMap::change_entry()</a> about runtime accelerator changes.</p>
<p>If called more than once, <em>accel_group</em> remains locked until <a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0" title="Undoes the last call to lock() on this accel_group.">unlock()</a> has been called an equivalent number of times. </p>

</div>
</div>
<a class="anchor" id="a173b659482b4abc35862ae3c8d0645d3"></a><!-- doxytag: member="Gtk::AccelGroup::name" ref="a173b659482b4abc35862ae3c8d0645d3" args="(guint accelerator_key, Gdk::ModifierType accelerator_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::AccelGroup::name </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>accelerator_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>accelerator_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts an accelerator keyval and modifier mask into a string parseable by <a class="el" href="classGtk_1_1AccelGroup.html#a0035b04d82a93f3fb4ed26812da9144a" title="Parse the accelerator string.">parse()</a>. </p>
<p>For example, if you pass in 'q' and <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">Gdk::CONTROL_MASK</a>, it returns "&amp; lt;Control&amp; gt;q". </p>

</div>
</div>
<a class="anchor" id="a24149f08990137078258480b658932e7"></a><!-- doxytag: member="Gtk::AccelGroup::on_accel_changed" ref="a24149f08990137078258480b658932e7" args="(guint keyval, Gdk::ModifierType modifier, GClosure *accel_closure)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::AccelGroup::on_accel_changed </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>keyval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>modifier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GClosure *&#160;</td>
          <td class="paramname"> <em>accel_closure</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0035b04d82a93f3fb4ed26812da9144a"></a><!-- doxytag: member="Gtk::AccelGroup::parse" ref="a0035b04d82a93f3fb4ed26812da9144a" args="(const Glib::ustring &amp;accelerator, guint &amp;accelerator_key, Gdk::ModifierType &amp;accelerator_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::AccelGroup::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>accelerator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint &amp;&#160;</td>
          <td class="paramname"> <em>accelerator_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&amp;&#160;</td>
          <td class="paramname"> <em>accelerator_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse the accelerator string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accelerator</em>&#160;</td><td>See the <a class="el" href="classGtk_1_1AccelKey.html" title="Defines accelerator key combinations.">Gtk::AccelKey</a> constructor for the format. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accelerator_key</em>&#160;</td><td>Output argument </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accelerator_mods</em>&#160;</td><td>Output argument </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a42258983a28aa7f0c4ba65b1abf9806c"></a><!-- doxytag: member="Gtk::AccelGroup::set_default_mod_mask" ref="a42258983a28aa7f0c4ba65b1abf9806c" args="(Gdk::ModifierType default_mod_mask)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::AccelGroup::set_default_mod_mask </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>default_mod_mask</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the modifiers that will be considered significant for keyboard accelerators. </p>
<p>The default mod mask is <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">Gdk::CONTROL_MASK</a> | <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a2a80cbf95ae263d1cc7c93a379c8fb8e">Gdk::SHIFT_MASK</a> | <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a5f256dc0926cacc91f18a7e4d198fb91">Gdk::MOD1_MASK</a>, that is, Control, Shift, and Alt. Other modifiers will ignored by default. You must include at least the three default modifiers in any value you pass to this function.</p>
<p>The default mod mask should be changed on application startup, before using any accelerator groups. </p>

</div>
</div>
<a class="anchor" id="aa39bbb7e95ee8c7a66af6399cef4495a"></a><!-- doxytag: member="Gtk::AccelGroup::signal_accel_activate" ref="aa39bbb7e95ee8c7a66af6399cef4495a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; bool,const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>&gt;&amp;,guint,<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> &gt; Gtk::AccelGroup::signal_accel_activate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>bool on_my_accel_activate(const Glib::RefPtr&lt;Glib::Object&gt;&amp; acceleratable, guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifier)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a8d1191d47fc96c2f02aacb0e0423f5c4"></a><!-- doxytag: member="Gtk::AccelGroup::signal_accel_changed" ref="a8d1191d47fc96c2f02aacb0e0423f5c4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; void,guint,<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>,GClosure* &gt; Gtk::AccelGroup::signal_accel_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_accel_changed(guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifier, GClosure* accel_closure)</code> </dd></dl>

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

<p>Undoes the last call to <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group.">lock()</a> on this <em>accel_group</em>. </p>

</div>
</div>
<a class="anchor" id="a4c5da10b8e3b51dcd4fe403959e2d4a3"></a><!-- doxytag: member="Gtk::AccelGroup::valid" ref="a4c5da10b8e3b51dcd4fe403959e2d4a3" args="(guint keyval, Gdk::ModifierType modifiers)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gtk::AccelGroup::valid </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>keyval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td>
          <td class="paramname"> <em>modifiers</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. </p>
<p>For example, the 'a' keyval plus <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">Gdk::CONTROL_MASK</a> is valid - this is a "Ctrl+a" accelerator. But you can't, for instance, use the GDK_Control_L keyval as an accelerator. </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a6dd6cb005299768bbfc173eb56319fc7"></a><!-- doxytag: member="Gtk::AccelGroup::wrap" ref="a6dd6cb005299768bbfc173eb56319fc7" args="(GtkAccelGroup *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">Gtk::AccelGroup</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkAccelGroup *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/accelgroup.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:45 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>