| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gdk.Structs.KeymapKey
Description
A KeymapKey is a hardware key that can be mapped to a keyval.
- newtype KeymapKey = KeymapKey (ManagedPtr KeymapKey)
- newZeroKeymapKey :: MonadIO m => m KeymapKey
- noKeymapKey :: Maybe KeymapKey
- getKeymapKeyGroup :: MonadIO m => KeymapKey -> m Int32
- keymapKey_group :: AttrLabelProxy "group"
- setKeymapKeyGroup :: MonadIO m => KeymapKey -> Int32 -> m ()
- getKeymapKeyKeycode :: MonadIO m => KeymapKey -> m Word32
- keymapKey_keycode :: AttrLabelProxy "keycode"
- setKeymapKeyKeycode :: MonadIO m => KeymapKey -> Word32 -> m ()
- getKeymapKeyLevel :: MonadIO m => KeymapKey -> m Int32
- keymapKey_level :: AttrLabelProxy "level"
- setKeymapKeyLevel :: MonadIO m => KeymapKey -> Int32 -> m ()
Exported types
Constructors
| KeymapKey (ManagedPtr KeymapKey) |
Instances
| WrappedPtr KeymapKey Source # | |
| (~) AttrOpTag tag AttrSet => Constructible KeymapKey tag Source # | |
| ((~) * info (ResolveKeymapKeyMethod t KeymapKey), MethodInfo * info KeymapKey p) => IsLabel t (KeymapKey -> p) Source # | |
| ((~) * info (ResolveKeymapKeyMethod t KeymapKey), MethodInfo * info KeymapKey p) => IsLabelProxy t (KeymapKey -> p) Source # | |
| HasAttributeList * KeymapKey Source # | |
| type AttributeList KeymapKey Source # | |
newZeroKeymapKey :: MonadIO m => m KeymapKey Source #
Construct a KeymapKey struct initialized to zero.
Properties
group
keymapKey_group :: AttrLabelProxy "group" Source #
keycode
keymapKey_keycode :: AttrLabelProxy "keycode" Source #
level
keymapKey_level :: AttrLabelProxy "level" Source #