1Gtk2::Accelerator(3)  User Contributed Perl Documentation Gtk2::Accelerator(3)
2
3
4

NAME

6       Gtk2::Accelerator
7

METHODS

9       modifiertype = Gtk2::Accelerator->get_default_mod_mask
10
11       Gtk2::Accelerator->set_default_mod_mask ($default_mod_mask)
12
13           * $default_mod_mask (Gtk2::Gdk::ModifierType)
14
15       string = Gtk2::Accelerator->get_label ($accelerator_key, $accelera‐
16       tor_mods)
17
18           * $accelerator_key (integer)
19           * $accelerator_mods (Gtk2::Gdk::ModifierType)
20
21       string = Gtk2::Accelerator->name ($accelerator_key, $accelerator_mods)
22
23           * $accelerator_key (integer)
24           * $accelerator_mods (Gtk2::Gdk::ModifierType)
25
26       (accelerator_key, accelerator_mods) = Gtk2::Accelerator->parse ($accel‐
27       erator)
28
29           * $accelerator (string)
30
31           Returns accelerator_key, an unsigned interger and accelerator_mods,
32           a Gtk2::Gdk::ModifierType.
33
34       boolean = Gtk2::Accelerator->valid ($keyval, $modifiers)
35
36           * $keyval (integer)
37           * $modifiers (Gtk2::Gdk::ModifierType)
38

ENUMS AND FLAGS

40       flags Gtk2::Gdk::ModifierType
41
42       * 'shift-mask' / 'GDK_SHIFT_MASK'
43       * 'lock-mask' / 'GDK_LOCK_MASK'
44       * 'control-mask' / 'GDK_CONTROL_MASK'
45       * 'mod1-mask' / 'GDK_MOD1_MASK'
46       * 'mod2-mask' / 'GDK_MOD2_MASK'
47       * 'mod3-mask' / 'GDK_MOD3_MASK'
48       * 'mod4-mask' / 'GDK_MOD4_MASK'
49       * 'mod5-mask' / 'GDK_MOD5_MASK'
50       * 'button1-mask' / 'GDK_BUTTON1_MASK'
51       * 'button2-mask' / 'GDK_BUTTON2_MASK'
52       * 'button3-mask' / 'GDK_BUTTON3_MASK'
53       * 'button4-mask' / 'GDK_BUTTON4_MASK'
54       * 'button5-mask' / 'GDK_BUTTON5_MASK'
55       * 'super-mask' / 'GDK_SUPER_MASK'
56       * 'hyper-mask' / 'GDK_HYPER_MASK'
57       * 'meta-mask' / 'GDK_META_MASK'
58       * 'release-mask' / 'GDK_RELEASE_MASK'
59       * 'modifier-mask' / 'GDK_MODIFIER_MASK'
60

SEE ALSO

62       Gtk2
63
65       Copyright (C) 2003-2007 by the gtk2-perl team.
66
67       This software is licensed under the LGPL.  See Gtk2 for a full notice.
68
69
70
71perl v5.8.8                       2007-03-18              Gtk2::Accelerator(3)
Impressum