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
- setKeymapKeyGroup :: MonadIO m => KeymapKey -> Int32 -> m ()
- getKeymapKeyKeycode :: MonadIO m => KeymapKey -> m Word32
- setKeymapKeyKeycode :: MonadIO m => KeymapKey -> Word32 -> m ()
- getKeymapKeyLevel :: MonadIO m => KeymapKey -> m Int32
- setKeymapKeyLevel :: MonadIO m => KeymapKey -> Int32 -> m ()
Exported types
Constructors
KeymapKey (ManagedPtr KeymapKey) |
Instances
WrappedPtr KeymapKey Source # | |
(~) AttrOpTag tag AttrSet => Constructible KeymapKey tag Source # | |
newZeroKeymapKey :: MonadIO m => m KeymapKey Source #
Construct a KeymapKey
struct initialized to zero.