hbro-1.3.0.0: Minimal extensible web-browser

Safe HaskellNone
LanguageHaskell98

Hbro.Gdk.KeyVal

Description

Binding for GDK key constants defined in gdk/gdkkeysyms.h

Synopsis

Documentation

newtype KeyVal

Constructors

KeyVal 

Fields

unKeyValue :: Word32
 

Instances

Eq KeyVal 
Ord KeyVal 
Describable KeyVal

Single characters are returned as is. For other keys, the corresponding keyName wrapped into <> is returned.

Describable KeyStroke 
Describable (Modifier, KeyVal) 

_includes :: KeyVal

Modal keys are: caps lock

isModifier :: KeyVal -> Bool

Modifiers are: shift, control, alt, super, menu