wild-bind-x11-0.1.0.6: X11-specific implementation for WildBind

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellNone
LanguageHaskell2010

WildBind.X11.Internal.Key

Contents

Description

This is an internal module. Package users should not rely on this.

Synopsis

Conversion between key types

xEventToKeySymLike :: KeySymLike k => XEventPtr -> MaybeT IO k Source #

Extract the KeySymLike associated with the XEvent.

Key grabs

class ModifierLike k Source #

Convertible into a set of Modifiers.

Minimal complete definition

toModifiers

Instances

xGrabKey :: (KeySymLike k, ModifierLike k) => Display -> Window -> k -> IO () Source #

Grab the specified key on the specified window. The key is captured from now on, so the window won't get that.

xUngrabKey :: (KeySymLike k, ModifierLike k) => Display -> Window -> k -> IO () Source #

Release the grab on the specified key.