Provided by: libgtk2-perl-doc_1.2498-1_all ![bug](/img/bug.png)
![bug](/img/bug.png)
NAME
Gtk2::AccelMap - wrapper for GtkAccelMap
HIERARCHY
Glib::Object +----Gtk2::AccelMap
METHODS
Gtk2::AccelMap->add_entry ($accel_path, $accel_key, $accel_mods) • $accel_path (string) • $accel_key (integer) • $accel_mods (Gtk2::Gdk::ModifierType) Gtk2::AccelMap->add_filter ($filter_pattern) • $filter_pattern (string) boolean = Gtk2::AccelMap->change_entry ($accel_path, $accel_key, $accel_mods, $replace) • $accel_path (string) • $accel_key (integer) • $accel_mods (Gtk2::Gdk::ModifierType) • $replace (boolean) Gtk2::AccelMap->foreach ($data, $foreach_func) • $data (scalar) • $foreach_func (scalar) Gtk2::AccelMap->foreach_unfiltered ($data, $foreach_func) • $data (scalar) • $foreach_func (scalar) accelmap = Gtk2::AccelMap->get Since: gtk+ 2.4 Gtk2::AccelMap->load ($file_name) • $file_name (string) Gtk2::AccelMap->load_fd ($fd) • $fd (integer) Gtk2::AccelMap->lock_path ($accel_path) • $accel_path (string) Since: gtk+ 2.4 (accel_key, accel_mods, accel_flags) = Gtk2::AccelMap->lookup_entry ($accel_path) • $accel_path (string) Returns empty if no accelerator is found for the given path, accel_key (integer), accel_mods (Gtk2::Gdk::ModifierType), and accel_flags (integer) otherwise. Gtk2::AccelMap->save ($file_name) • $file_name (string) Gtk2::AccelMap->save_fd ($fd) • $fd (integer) Gtk2::AccelMap->unlock_path ($accel_path) • $accel_path (string) Since: gtk+ 2.4
FOREACH CALLBACK
The foreach callbacks ignore any returned values and the following parameters are passed to the callback any modifications are ignored. accel_path (string) accel_key (integer) GdkModifierType accel_mods (Gtk2::Gdk::ModifierType) changed (boolean) user_date (scalar)
SIGNALS
changed (Gtk2::AccelMap, string, Glib::UInt, Gtk2::Gdk::ModifierType)
ENUMS AND FLAGS
flags Gtk2::Gdk::ModifierType • 'shift-mask' / 'GDK_SHIFT_MASK' • 'lock-mask' / 'GDK_LOCK_MASK' • 'control-mask' / 'GDK_CONTROL_MASK' • 'mod1-mask' / 'GDK_MOD1_MASK' • 'mod2-mask' / 'GDK_MOD2_MASK' • 'mod3-mask' / 'GDK_MOD3_MASK' • 'mod4-mask' / 'GDK_MOD4_MASK' • 'mod5-mask' / 'GDK_MOD5_MASK' • 'button1-mask' / 'GDK_BUTTON1_MASK' • 'button2-mask' / 'GDK_BUTTON2_MASK' • 'button3-mask' / 'GDK_BUTTON3_MASK' • 'button4-mask' / 'GDK_BUTTON4_MASK' • 'button5-mask' / 'GDK_BUTTON5_MASK' • 'super-mask' / 'GDK_SUPER_MASK' • 'hyper-mask' / 'GDK_HYPER_MASK' • 'meta-mask' / 'GDK_META_MASK' • 'release-mask' / 'GDK_RELEASE_MASK' • 'modifier-mask' / 'GDK_MODIFIER_MASK'
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.