Gtk2::Accelerator(3p)

NAME
Gtk2::Accelerator

METHODS

  modifiertype = Gtk2::Accelerator->get_default_mod_mask

  Gtk2::Accelerator->set_default_mod_mask ($default_mod_mask)

•   $default_mod_mask (Gtk2::Gdk::ModifierType)

  string = Gtk2::Accelerator->get_label ($accelerator_key, $accelerator_mods)

•   $accelerator_key (integer)

•   $accelerator_mods (Gtk2::Gdk::ModifierType)

Since: gtk+ 2.6

  string = Gtk2::Accelerator->name ($accelerator_key, $accelerator_mods)

•   $accelerator_key (integer)

•   $accelerator_mods (Gtk2::Gdk::ModifierType)

  (accelerator_key, accelerator_mods) = Gtk2::Accelerator->parse ($accelerator)

•   $accelerator (string)

Returns accelerator_key, an unsigned interger and accelerator_mods, a Gtk2::Gdk::ModifierType.

  boolean = Gtk2::Accelerator->valid ($keyval, $modifiers)

•   $keyval (integer)

•   $modifiers (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

COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.