Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. keymapGetEntriesForKeycode :: KeymapClass self => self -> Int -> IO (Maybe ([KeymapKey], [KeyVal]))

    gtk Graphics.UI.Gtk.Gdk.Keymap

    Returns the keyvals bound to hardwareKeycode. The Nth KeymapKey in keys is bound to the Nth keyval in keyvals. 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.

  2. keymapGetEntriesForKeyval :: KeymapClass self => self -> KeyVal -> IO (Maybe [KeymapKey])

    gtk Graphics.UI.Gtk.Gdk.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.

  3. keymapGetForDisplay :: Display -> IO Keymap

    gtk Graphics.UI.Gtk.Gdk.Keymap

    Returns the Keymap attached to display.

    • Available since Gdk version 2.2

  4. keymapHaveBidiLayouts :: KeymapClass self => self -> IO Bool

    gtk Graphics.UI.Gtk.Gdk.Keymap

    Determines if keyboard layouts for both right-to-left and left-to-right languages are in use.

    • Available since Gdk version 2.12

  5. keymapKeysChanged :: KeymapClass self => Signal self (IO ())

    gtk Graphics.UI.Gtk.Gdk.Keymap

    The keymapKeysChanged signal is emitted when the mapping represented by keymap changes.

    • Available since Gdk version 2.2

  6. keymapLookupKey :: KeymapClass self => Maybe self -> KeymapKey -> IO Int

    gtk Graphics.UI.Gtk.Gdk.Keymap

    Looks up the keyval mapped to a keycode/group/level triplet. If no keyval is bound to key, returns 0. For normal user input, you want to use keymapTranslateKeyboardState instead of this function, since the effective group/level may not be the same as the current keyboard state.

  7. keymapStateChanged :: KeymapClass self => Signal self (IO ())

    gtk Graphics.UI.Gtk.Gdk.Keymap

    The keymapStateChanged signal is emitted when the state of the keyboard changes, e.g when Caps Lock is turned on or off. See keymapGetCapsLockState.

    • Available since Gdk version 2.16

  8. keymapTranslateKeyboardState :: KeymapClass self => self -> Int -> Modifier -> Int -> IO (Maybe (Int, Int, Int, Modifier))

    gtk Graphics.UI.Gtk.Gdk.Keymap

    Translates the contents of a EventKey into a keyval, effective group, and level. Modifiers that affected the translation and are thus unavailable for application use are returned in consumedModifiers. See keyvalGetKeys for an explanation of groups and levels. The effectiveGroup is the group that was actually used for the translation; some keys such as Enter are not affected by the active keyboard group. The level is derived from state. For convenience, EventKey already contains the translated keyval, so this function isn't as useful as you might think.

  9. toKeymap :: KeymapClass o => o -> Keymap

    gtk Graphics.UI.Gtk.Gdk.Keymap

    No documentation available.

  10. pixbufRenderPixmapAndMaskForColormap :: Pixbuf -> Colormap -> Int -> IO (Pixmap, Maybe Bitmap)

    gtk Graphics.UI.Gtk.Gdk.Pixbuf

    Creates a pixmap and a mask bitmap which are returned and renders a pixbuf and its corresponding thresholded alpha mask to them. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use drawPixbuf, and pixbufRenderThresholdAlpha. The pixmap that is created uses the Colormap specified by colormap. This colormap must match the colormap of the window where the pixmap will eventually be used or an error will result. If the pixbuf does not have an alpha channel, then the returned mask will be Nothing. Removed in Gtk3.

Page 1057 of many | Previous | Next