1Gtk2::Accelerator(3) User Contributed Perl Documentation Gtk2::Accelerator(3)
2
3
4
6 Gtk2::Accelerator
7
9 modifiertype = Gtk2::Accelerator->get_default_mod_mask
10 Gtk2::Accelerator->set_default_mod_mask ($default_mod_mask)
11 • $default_mod_mask (Gtk2::Gdk::ModifierType)
12
13 string = Gtk2::Accelerator->get_label ($accelerator_key, $accelerator_mods)
14 • $accelerator_key (integer)
15
16 • $accelerator_mods (Gtk2::Gdk::ModifierType)
17
18 Since: gtk+ 2.6
19
20 string = Gtk2::Accelerator->name ($accelerator_key, $accelerator_mods)
21 • $accelerator_key (integer)
22
23 • $accelerator_mods (Gtk2::Gdk::ModifierType)
24
25 (accelerator_key, accelerator_mods) = Gtk2::Accelerator->parse
26 ($accelerator)
27 • $accelerator (string)
28
29 Returns accelerator_key, an unsigned integer and accelerator_mods, a
30 Gtk2::Gdk::ModifierType.
31
32 boolean = Gtk2::Accelerator->valid ($keyval, $modifiers)
33 • $keyval (integer)
34
35 • $modifiers (Gtk2::Gdk::ModifierType)
36
38 flags Gtk2::Gdk::ModifierType
39 • 'shift-mask' / 'GDK_SHIFT_MASK'
40
41 • 'lock-mask' / 'GDK_LOCK_MASK'
42
43 • 'control-mask' / 'GDK_CONTROL_MASK'
44
45 • 'mod1-mask' / 'GDK_MOD1_MASK'
46
47 • 'mod2-mask' / 'GDK_MOD2_MASK'
48
49 • 'mod3-mask' / 'GDK_MOD3_MASK'
50
51 • 'mod4-mask' / 'GDK_MOD4_MASK'
52
53 • 'mod5-mask' / 'GDK_MOD5_MASK'
54
55 • 'button1-mask' / 'GDK_BUTTON1_MASK'
56
57 • 'button2-mask' / 'GDK_BUTTON2_MASK'
58
59 • 'button3-mask' / 'GDK_BUTTON3_MASK'
60
61 • 'button4-mask' / 'GDK_BUTTON4_MASK'
62
63 • 'button5-mask' / 'GDK_BUTTON5_MASK'
64
65 • 'super-mask' / 'GDK_SUPER_MASK'
66
67 • 'hyper-mask' / 'GDK_HYPER_MASK'
68
69 • 'meta-mask' / 'GDK_META_MASK'
70
71 • 'release-mask' / 'GDK_RELEASE_MASK'
72
73 • 'modifier-mask' / 'GDK_MODIFIER_MASK'
74
76 Gtk2
77
79 Copyright (C) 2003-2011 by the gtk2-perl team.
80
81 This software is licensed under the LGPL. See Gtk2 for a full notice.
82
83
84
85perl v5.32.1 2021-01-27 Gtk2::Accelerator(3)