man Gtk2::AccelMap () - Gtk2::AccelMap
NAME
Gtk2::AccelMap
HIERARCHY
Glib::Object +----Gtk2::AccelMap
METHODS
Gtk2::AccelMap->add_filter ($filter_pattern)
accelmap = Gtk2::AccelMap->get
Gtk2::AccelMap->load ($file_name)
Gtk2::AccelMap->load_fd ($fd)
Gtk2::AccelMap->lock_path ($accel_path)
(accel_key, accel_mods, accel_flags) = Gtk2::AccelMap->lookup_entry ($accel_path)
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)
Gtk2::AccelMap->save_fd ($fd)
Gtk2::AccelMap->unlock_path ($accel_path)
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'
- * 'release-mask' / 'GDK_RELEASE_MASK'
- * 'modifier-mask' / 'GDK_MODIFIER_MASK'
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2005 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.