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 |
- Exported types
- Methods
- keymapAddVirtualModifiers
- keymapGetCapsLockState
- keymapGetDefault
- keymapGetDirection
- keymapGetEntriesForKeycode
- keymapGetEntriesForKeyval
- keymapGetForDisplay
- keymapGetModifierMask
- keymapGetModifierState
- keymapGetNumLockState
- keymapGetScrollLockState
- keymapHaveBidiLayouts
- keymapLookupKey
- keymapMapVirtualModifiers
- keymapTranslateKeyboardState
- Signals
- newtype Keymap = Keymap (ForeignPtr Keymap)
- class GObject o => KeymapK o
- toKeymap :: KeymapK o => o -> IO Keymap
- noKeymap :: Maybe Keymap
- data KeymapAddVirtualModifiersMethodInfo
- keymapAddVirtualModifiers :: (MonadIO m, KeymapK a) => a -> [ModifierType] -> m [ModifierType]
- data KeymapGetCapsLockStateMethodInfo
- keymapGetCapsLockState :: (MonadIO m, KeymapK a) => a -> m Bool
- keymapGetDefault :: MonadIO m => m Keymap
- data KeymapGetDirectionMethodInfo
- keymapGetDirection :: (MonadIO m, KeymapK a) => a -> m Direction
- data KeymapGetEntriesForKeycodeMethodInfo
- keymapGetEntriesForKeycode :: (MonadIO m, KeymapK a) => a -> Word32 -> m (Bool, [KeymapKey], [Word32])
- data KeymapGetEntriesForKeyvalMethodInfo
- keymapGetEntriesForKeyval :: (MonadIO m, KeymapK a) => a -> Word32 -> m (Bool, [KeymapKey])
- keymapGetForDisplay :: (MonadIO m, DisplayK a) => a -> m Keymap
- data KeymapGetModifierMaskMethodInfo
- keymapGetModifierMask :: (MonadIO m, KeymapK a) => a -> ModifierIntent -> m [ModifierType]
- data KeymapGetModifierStateMethodInfo
- keymapGetModifierState :: (MonadIO m, KeymapK a) => a -> m Word32
- data KeymapGetNumLockStateMethodInfo
- keymapGetNumLockState :: (MonadIO m, KeymapK a) => a -> m Bool
- data KeymapGetScrollLockStateMethodInfo
- keymapGetScrollLockState :: (MonadIO m, KeymapK a) => a -> m Bool
- data KeymapHaveBidiLayoutsMethodInfo
- keymapHaveBidiLayouts :: (MonadIO m, KeymapK a) => a -> m Bool
- data KeymapLookupKeyMethodInfo
- keymapLookupKey :: (MonadIO m, KeymapK a) => a -> KeymapKey -> m Word32
- data KeymapMapVirtualModifiersMethodInfo
- keymapMapVirtualModifiers :: (MonadIO m, KeymapK a) => a -> [ModifierType] -> m (Bool, [ModifierType])
- data KeymapTranslateKeyboardStateMethodInfo
- keymapTranslateKeyboardState :: (MonadIO m, KeymapK a) => a -> Word32 -> [ModifierType] -> Int32 -> m (Bool, Word32, Int32, Int32, [ModifierType])
- type KeymapDirectionChangedCallback = IO ()
- type KeymapDirectionChangedCallbackC = Ptr () -> Ptr () -> IO ()
- data KeymapDirectionChangedSignalInfo
- afterKeymapDirectionChanged :: (GObject a, MonadIO m) => a -> KeymapDirectionChangedCallback -> m SignalHandlerId
- keymapDirectionChangedCallbackWrapper :: KeymapDirectionChangedCallback -> Ptr () -> Ptr () -> IO ()
- keymapDirectionChangedClosure :: KeymapDirectionChangedCallback -> IO Closure
- mkKeymapDirectionChangedCallback :: KeymapDirectionChangedCallbackC -> IO (FunPtr KeymapDirectionChangedCallbackC)
- noKeymapDirectionChangedCallback :: Maybe KeymapDirectionChangedCallback
- onKeymapDirectionChanged :: (GObject a, MonadIO m) => a -> KeymapDirectionChangedCallback -> m SignalHandlerId
- type KeymapKeysChangedCallback = IO ()
- type KeymapKeysChangedCallbackC = Ptr () -> Ptr () -> IO ()
- data KeymapKeysChangedSignalInfo
- afterKeymapKeysChanged :: (GObject a, MonadIO m) => a -> KeymapKeysChangedCallback -> m SignalHandlerId
- keymapKeysChangedCallbackWrapper :: KeymapKeysChangedCallback -> Ptr () -> Ptr () -> IO ()
- keymapKeysChangedClosure :: KeymapKeysChangedCallback -> IO Closure
- mkKeymapKeysChangedCallback :: KeymapKeysChangedCallbackC -> IO (FunPtr KeymapKeysChangedCallbackC)
- noKeymapKeysChangedCallback :: Maybe KeymapKeysChangedCallback
- onKeymapKeysChanged :: (GObject a, MonadIO m) => a -> KeymapKeysChangedCallback -> m SignalHandlerId
- type KeymapStateChangedCallback = IO ()
- type KeymapStateChangedCallbackC = Ptr () -> Ptr () -> IO ()
- data KeymapStateChangedSignalInfo
- afterKeymapStateChanged :: (GObject a, MonadIO m) => a -> KeymapStateChangedCallback -> m SignalHandlerId
- keymapStateChangedCallbackWrapper :: KeymapStateChangedCallback -> Ptr () -> Ptr () -> IO ()
- keymapStateChangedClosure :: KeymapStateChangedCallback -> IO Closure
- mkKeymapStateChangedCallback :: KeymapStateChangedCallbackC -> IO (FunPtr KeymapStateChangedCallbackC)
- noKeymapStateChangedCallback :: Maybe KeymapStateChangedCallback
- onKeymapStateChanged :: (GObject a, MonadIO m) => a -> KeymapStateChangedCallback -> m SignalHandlerId
Exported types
GObject Keymap Source | |
((~) * info (ResolveKeymapMethod t Keymap), MethodInfo * info Keymap p) => IsLabel t (Keymap -> p) Source | |
((~) * info (ResolveKeymapMethod t Keymap), MethodInfo * info Keymap p) => IsLabelProxy t (Keymap -> p) Source | |
type ParentTypes Keymap Source | |
type AttributeList Keymap Source | |
type SignalList Keymap Source |
Methods
keymapAddVirtualModifiers
data KeymapAddVirtualModifiersMethodInfo Source
((~) (TYPE Lifted) signature ([ModifierType] -> m [ModifierType]), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapAddVirtualModifiersMethodInfo a signature Source | |
keymapAddVirtualModifiers :: (MonadIO m, KeymapK a) => a -> [ModifierType] -> m [ModifierType] Source
keymapGetCapsLockState
data KeymapGetCapsLockStateMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapGetCapsLockStateMethodInfo a signature Source | |
keymapGetCapsLockState :: (MonadIO m, KeymapK a) => a -> m Bool Source
keymapGetDefault
keymapGetDefault :: MonadIO m => m Keymap Source
keymapGetDirection
data KeymapGetDirectionMethodInfo Source
((~) (TYPE Lifted) signature (m Direction), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapGetDirectionMethodInfo a signature Source | |
keymapGetDirection :: (MonadIO m, KeymapK a) => a -> m Direction Source
keymapGetEntriesForKeycode
keymapGetEntriesForKeycode :: (MonadIO m, KeymapK a) => a -> Word32 -> m (Bool, [KeymapKey], [Word32]) Source
keymapGetEntriesForKeyval
keymapGetForDisplay
keymapGetForDisplay :: (MonadIO m, DisplayK a) => a -> m Keymap Source
keymapGetModifierMask
data KeymapGetModifierMaskMethodInfo Source
((~) (TYPE Lifted) signature (ModifierIntent -> m [ModifierType]), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapGetModifierMaskMethodInfo a signature Source | |
keymapGetModifierMask :: (MonadIO m, KeymapK a) => a -> ModifierIntent -> m [ModifierType] Source
keymapGetModifierState
data KeymapGetModifierStateMethodInfo Source
((~) (TYPE Lifted) signature (m Word32), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapGetModifierStateMethodInfo a signature Source | |
keymapGetModifierState :: (MonadIO m, KeymapK a) => a -> m Word32 Source
keymapGetNumLockState
data KeymapGetNumLockStateMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapGetNumLockStateMethodInfo a signature Source | |
keymapGetNumLockState :: (MonadIO m, KeymapK a) => a -> m Bool Source
keymapGetScrollLockState
data KeymapGetScrollLockStateMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapGetScrollLockStateMethodInfo a signature Source | |
keymapGetScrollLockState :: (MonadIO m, KeymapK a) => a -> m Bool Source
keymapHaveBidiLayouts
data KeymapHaveBidiLayoutsMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapHaveBidiLayoutsMethodInfo a signature Source | |
keymapHaveBidiLayouts :: (MonadIO m, KeymapK a) => a -> m Bool Source
keymapLookupKey
keymapMapVirtualModifiers
data KeymapMapVirtualModifiersMethodInfo Source
((~) (TYPE Lifted) signature ([ModifierType] -> m (Bool, [ModifierType])), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapMapVirtualModifiersMethodInfo a signature Source | |
keymapMapVirtualModifiers :: (MonadIO m, KeymapK a) => a -> [ModifierType] -> m (Bool, [ModifierType]) Source
keymapTranslateKeyboardState
data KeymapTranslateKeyboardStateMethodInfo Source
((~) (TYPE Lifted) signature (Word32 -> [ModifierType] -> Int32 -> m (Bool, Word32, Int32, Int32, [ModifierType])), MonadIO m, KeymapK a) => MethodInfo (TYPE Lifted) KeymapTranslateKeyboardStateMethodInfo a signature Source | |
keymapTranslateKeyboardState :: (MonadIO m, KeymapK a) => a -> Word32 -> [ModifierType] -> Int32 -> m (Bool, Word32, Int32, Int32, [ModifierType]) Source
Signals
DirectionChanged
type KeymapDirectionChangedCallback = IO () Source
type KeymapDirectionChangedCallbackC = Ptr () -> Ptr () -> IO () Source
afterKeymapDirectionChanged :: (GObject a, MonadIO m) => a -> KeymapDirectionChangedCallback -> m SignalHandlerId Source
keymapDirectionChangedCallbackWrapper :: KeymapDirectionChangedCallback -> Ptr () -> Ptr () -> IO () Source
mkKeymapDirectionChangedCallback :: KeymapDirectionChangedCallbackC -> IO (FunPtr KeymapDirectionChangedCallbackC) Source
onKeymapDirectionChanged :: (GObject a, MonadIO m) => a -> KeymapDirectionChangedCallback -> m SignalHandlerId Source
KeysChanged
type KeymapKeysChangedCallback = IO () Source
type KeymapKeysChangedCallbackC = Ptr () -> Ptr () -> IO () Source
afterKeymapKeysChanged :: (GObject a, MonadIO m) => a -> KeymapKeysChangedCallback -> m SignalHandlerId Source
keymapKeysChangedCallbackWrapper :: KeymapKeysChangedCallback -> Ptr () -> Ptr () -> IO () Source
mkKeymapKeysChangedCallback :: KeymapKeysChangedCallbackC -> IO (FunPtr KeymapKeysChangedCallbackC) Source
onKeymapKeysChanged :: (GObject a, MonadIO m) => a -> KeymapKeysChangedCallback -> m SignalHandlerId Source
StateChanged
type KeymapStateChangedCallback = IO () Source
type KeymapStateChangedCallbackC = Ptr () -> Ptr () -> IO () Source
afterKeymapStateChanged :: (GObject a, MonadIO m) => a -> KeymapStateChangedCallback -> m SignalHandlerId Source
keymapStateChangedCallbackWrapper :: KeymapStateChangedCallback -> Ptr () -> Ptr () -> IO () Source
mkKeymapStateChangedCallback :: KeymapStateChangedCallbackC -> IO (FunPtr KeymapStateChangedCallbackC) Source
onKeymapStateChanged :: (GObject a, MonadIO m) => a -> KeymapStateChangedCallback -> m SignalHandlerId Source