Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. afterKeymapDirectionChanged :: (IsKeymap a, MonadIO m) => a -> ((?self :: a) => KeymapDirectionChangedCallback) -> m SignalHandlerId

    gi-gdk3 GI.Gdk.Objects.Keymap

    Connect a signal handler for the directionChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after keymap #directionChanged callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  2. afterKeymapKeysChanged :: (IsKeymap a, MonadIO m) => a -> ((?self :: a) => KeymapKeysChangedCallback) -> m SignalHandlerId

    gi-gdk3 GI.Gdk.Objects.Keymap

    Connect a signal handler for the keysChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after keymap #keysChanged callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  3. afterKeymapStateChanged :: (IsKeymap a, MonadIO m) => a -> ((?self :: a) => KeymapStateChangedCallback) -> m SignalHandlerId

    gi-gdk3 GI.Gdk.Objects.Keymap

    Connect a signal handler for the stateChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after keymap #stateChanged callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  4. keymapAddVirtualModifiers :: (HasCallStack, MonadIO m, IsKeymap a) => a -> [ModifierType] -> m [ModifierType]

    gi-gdk3 GI.Gdk.Objects.Keymap

    Maps the non-virtual modifiers (i.e Mod2, Mod3, ...) which are set in state to the virtual modifiers (i.e. Super, Hyper and Meta) and set the corresponding bits in state. GDK already does this before delivering key events, but for compatibility reasons, it only sets the first virtual modifier it finds, whereas this function sets all matching virtual modifiers. This function is useful when matching key events against accelerators. Since: 2.20

  5. keymapGetCapsLockState :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Bool

    gi-gdk3 GI.Gdk.Objects.Keymap

    Returns whether the Caps Lock modifer is locked. Since: 2.16

  6. keymapGetDefault :: (HasCallStack, MonadIO m) => m Keymap

    gi-gdk3 GI.Gdk.Objects.Keymap

    Deprecated: (Since version 3.22)Use keymapGetForDisplay instead

  7. keymapGetDirection :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Direction

    gi-gdk3 GI.Gdk.Objects.Keymap

    Returns the direction of effective layout of the keymap.

  8. keymapGetEntriesForKeycode :: (HasCallStack, MonadIO m, IsKeymap a) => a -> Word32 -> m (Bool, [KeymapKey], [Word32])

    gi-gdk3 GI.Gdk.Objects.Keymap

    Returns the keyvals bound to hardwareKeycode. The Nth KeymapKey in keys is bound to the Nth keyval in keyvals. Free the returned arrays with free. When a keycode is pressed by the user, the keyval from this list of entries is selected by considering the effective keyboard group and level. See keymapTranslateKeyboardState.

  9. keymapGetEntriesForKeyval :: (HasCallStack, MonadIO m, IsKeymap a) => a -> Word32 -> m (Bool, [KeymapKey])

    gi-gdk3 GI.Gdk.Objects.Keymap

    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. EventKey contains a group field that indicates the active keyboard group. The level is computed from the modifier mask. The returned array should be freed with free.

  10. keymapGetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Keymap

    gi-gdk3 GI.Gdk.Objects.Keymap

    Returns the Keymap attached to display. Since: 2.2

Page 943 of many | Previous | Next