1Gtk2::AccelMap(3) User Contributed Perl Documentation Gtk2::AccelMap(3)
2
3
4
6 Gtk2::AccelMap
7
9 Glib::Object
10 +----Gtk2::AccelMap
11
13 Gtk2::AccelMap->add_entry ($accel_path, $accel_key, $accel_mods)
14
15 * $accel_path (string)
16 * $accel_key (integer)
17 * $accel_mods (Gtk2::Gdk::ModifierType)
18
19 Gtk2::AccelMap->add_filter ($filter_pattern)
20
21 * $filter_pattern (string)
22
23 boolean = Gtk2::AccelMap->change_entry ($accel_path, $accel_key,
24 $accel_mods, $replace)
25
26 * $accel_path (string)
27 * $accel_key (integer)
28 * $accel_mods (Gtk2::Gdk::ModifierType)
29 * $replace (boolean)
30
31 Gtk2::AccelMap->foreach ($data, $foreach_func)
32
33 * $data (scalar)
34 * $foreach_func (scalar)
35
36 Gtk2::AccelMap->foreach_unfiltered ($data, $foreach_func)
37
38 * $data (scalar)
39 * $foreach_func (scalar)
40
41 accelmap = Gtk2::AccelMap->get
42
43 Gtk2::AccelMap->load ($file_name)
44
45 * $file_name (string)
46
47 Gtk2::AccelMap->load_fd ($fd)
48
49 * $fd (integer)
50
51 Gtk2::AccelMap->lock_path ($accel_path)
52
53 * $accel_path (string)
54
55 (accel_key, accel_mods, accel_flags) = Gtk2::AccelMap->lookup_entry
56 ($accel_path)
57
58 * $accel_path (string)
59
60 Returns empty if no accelerator is found for the given path,
61 accel_key (integer), accel_mods (Gtk2::Gdk::ModifierType), and
62 accel_flags (integer) otherwise.
63
64 Gtk2::AccelMap->save ($file_name)
65
66 * $file_name (string)
67
68 Gtk2::AccelMap->save_fd ($fd)
69
70 * $fd (integer)
71
72 Gtk2::AccelMap->unlock_path ($accel_path)
73
74 * $accel_path (string)
75
77 The foreach callbacks ignore any returned values and the following
78 parameters are passed to the callback any modifications are ignored.
79
80 accel_path (string)
81 accel_key (integer)
82 GdkModifierType accel_mods (Gtk2::Gdk::ModifierType)
83 changed (boolean)
84 user_date (scalar)
85
87 changed (Gtk2::AccelMap, string, Glib::UInt, Gtk2::Gdk::ModifierType)
88
90 flags Gtk2::Gdk::ModifierType
91
92 * 'shift-mask' / 'GDK_SHIFT_MASK'
93 * 'lock-mask' / 'GDK_LOCK_MASK'
94 * 'control-mask' / 'GDK_CONTROL_MASK'
95 * 'mod1-mask' / 'GDK_MOD1_MASK'
96 * 'mod2-mask' / 'GDK_MOD2_MASK'
97 * 'mod3-mask' / 'GDK_MOD3_MASK'
98 * 'mod4-mask' / 'GDK_MOD4_MASK'
99 * 'mod5-mask' / 'GDK_MOD5_MASK'
100 * 'button1-mask' / 'GDK_BUTTON1_MASK'
101 * 'button2-mask' / 'GDK_BUTTON2_MASK'
102 * 'button3-mask' / 'GDK_BUTTON3_MASK'
103 * 'button4-mask' / 'GDK_BUTTON4_MASK'
104 * 'button5-mask' / 'GDK_BUTTON5_MASK'
105 * 'super-mask' / 'GDK_SUPER_MASK'
106 * 'hyper-mask' / 'GDK_HYPER_MASK'
107 * 'meta-mask' / 'GDK_META_MASK'
108 * 'release-mask' / 'GDK_RELEASE_MASK'
109 * 'modifier-mask' / 'GDK_MODIFIER_MASK'
110
112 Gtk2, Glib::Object
113
115 Copyright (C) 2003-2007 by the gtk2-perl team.
116
117 This software is licensed under the LGPL. See Gtk2 for a full notice.
118
119
120
121perl v5.8.8 2007-03-18 Gtk2::AccelMap(3)