Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype X11Keymap = X11Keymap (ManagedPtr X11Keymap)
- class (GObject o, IsDescendantOf X11Keymap o) => IsX11Keymap o
- toX11Keymap :: (MonadIO m, IsX11Keymap o) => o -> m X11Keymap
- x11KeymapGetGroupForState :: (HasCallStack, MonadIO m, IsX11Keymap a) => a -> Word32 -> m Int32
- x11KeymapKeyIsModifier :: (HasCallStack, MonadIO m, IsX11Keymap a) => a -> Word32 -> m Bool
Exported types
Memory-managed wrapper type.
Instances
Eq X11Keymap Source # | |
GObject X11Keymap Source # | |
Defined in GI.GdkX11.Objects.X11Keymap | |
ManagedPtrNewtype X11Keymap Source # | |
Defined in GI.GdkX11.Objects.X11Keymap toManagedPtr :: X11Keymap -> ManagedPtr X11Keymap | |
TypedObject X11Keymap Source # | |
Defined in GI.GdkX11.Objects.X11Keymap | |
HasParentTypes X11Keymap Source # | |
Defined in GI.GdkX11.Objects.X11Keymap | |
IsGValue (Maybe X11Keymap) Source # | Convert |
Defined in GI.GdkX11.Objects.X11Keymap gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe X11Keymap -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe X11Keymap) | |
type ParentTypes X11Keymap Source # | |
Defined in GI.GdkX11.Objects.X11Keymap type ParentTypes X11Keymap = '[Keymap, Object] |
class (GObject o, IsDescendantOf X11Keymap o) => IsX11Keymap o Source #
Type class for types which can be safely cast to X11Keymap
, for instance with toX11Keymap
.
Instances
(GObject o, IsDescendantOf X11Keymap o) => IsX11Keymap o Source # | |
Defined in GI.GdkX11.Objects.X11Keymap |
toX11Keymap :: (MonadIO m, IsX11Keymap o) => o -> m X11Keymap Source #
Methods
Click to display all available methods, including inherited ones
Methods
addVirtualModifiers, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, haveBidiLayouts, isFloating, keyIsModifier, lookupKey, mapVirtualModifiers, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, translateKeyboardState, unref, watchClosure.
Getters
getCapsLockState, getData, getDirection, getEntriesForKeycode, getEntriesForKeyval, getGroupForState, getModifierMask, getModifierState, getNumLockState, getProperty, getQdata, getScrollLockState.
Setters
getGroupForState
x11KeymapGetGroupForState Source #
:: (HasCallStack, MonadIO m, IsX11Keymap a) | |
=> a |
|
-> Word32 |
|
-> m Int32 | Returns: the index of the active keyboard group for the event |
Extracts the group from the state field sent in an X Key event.
This is only needed for code processing raw X events, since EventKey
directly includes an is_modifier field.
Since: 3.6
keyIsModifier
x11KeymapKeyIsModifier Source #
:: (HasCallStack, MonadIO m, IsX11Keymap a) | |
=> a |
|
-> Word32 |
|
-> m Bool | Returns: |
Determines whether a particular key code represents a key that
is a modifier. That is, it’s a key that normally just affects
the keyboard state and the behavior of other keys rather than
producing a direct effect itself. This is only needed for code
processing raw X events, since EventKey
directly includes
an is_modifier field.
Since: 3.6