Gtk2::Gdk::Keymap man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

Gtk2::Gdk::Keymap(3)  User Contributed Perl Documentation Gtk2::Gdk::Keymap(3)

NAME
       Gtk2::Gdk::Keymap

HIERARCHY
	 Glib::Object
	 +----Gtk2::Gdk::Keymap

METHODS
       keymap = Gtk2::Gdk::Keymap->get_default

       direction = $keymap->get_direction

       ({ key1, keyval1 }, { ... }) = $keymap->get_entries_for_keycode
       (hardware_keycode)

	   ·   $hardware_keycode (integer)

	   Returns a list of hash references, each with two keys: "key"
	   pointing to a GdkKeymapKey and "keyval" pointing to the
	   corresponding key value.

       keys = $keymap->get_entries_for_keyval (keyval)

	   ·   $keyval (integer)

	   Returns a list of GdkKeymapKeys.

	   Obtains a list of keycode/group/level combinations that will
	   generate $keyval.  Groups and levels are two kinds of keyboard
	   mode; in general, the level determines whether the top or bottom
	   symbol on a key is used, and the group determines whether the left
	   or right symbol is used.  On US keyboards, the shift key changes
	   the keyboard level, and there are no groups.	 A group switch key
	   might convert a keyboard between Hebrew to English modes, for
	   example.  Gtk2::Gdk::Event::Key contains a group field that
	   indicates the active keyboard group.	 The level is computed from
	   the modifier mask.

       keymap = Gtk2::Gdk::Keymap->get_for_display ($display)

	   ·   $display (Gtk2::Gdk::Display)

       integer = $keymap->lookup_key ($key)

	   ·   $key (scalar)

       (keyval, effective_group, level, consumed_modifiers) =
       $keymap->translate_keyboard_state (hardware_keycode, state, group)

	   ·   $hardware_keycode (integer)

	   ·   $state (Gtk2::Gdk::ModifierType)

	   ·   $group (integer)

SIGNALS
       direction-changed (Gtk2::Gdk::Keymap)
       keys-changed (Gtk2::Gdk::Keymap)

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'

       enum Gtk2::Pango::Direction

       ·   'ltr' / 'PANGO_DIRECTION_LTR'

       ·   'rtl' / 'PANGO_DIRECTION_RTL'

       ·   'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR'

       ·   'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL'

       ·   'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR'

       ·   'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL'

       ·   'neutral' / 'PANGO_DIRECTION_NEUTRAL'

SEE ALSO
       Gtk2, Glib::Object

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

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

perl v5.10.0			  2008-08-29		  Gtk2::Gdk::Keymap(3)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net