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.
-
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. -
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. -
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. -
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
keymapGetCapsLockState :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Boolgi-gdk3 GI.Gdk.Objects.Keymap Returns whether the Caps Lock modifer is locked. Since: 2.16
keymapGetDefault :: (HasCallStack, MonadIO m) => m Keymapgi-gdk3 GI.Gdk.Objects.Keymap Deprecated: (Since version 3.22)Use keymapGetForDisplay instead
keymapGetDirection :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Directiongi-gdk3 GI.Gdk.Objects.Keymap Returns the direction of effective layout of the keymap.
-
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.
-
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.
keymapGetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Keymapgi-gdk3 GI.Gdk.Objects.Keymap Returns the Keymap attached to display. Since: 2.2