Gtk2HsContentsIndex
Graphics.UI.Gtk.Gdk.Keys
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Description
Gdk KeyVal functions.
Synopsis
type KeyVal = Word32
keyvalName :: KeyVal -> IO String
keyvalFromName :: String -> IO KeyVal
keyvalToChar :: KeyVal -> IO (Maybe Char)
Documentation
type KeyVal = Word32
Key values are the codes which are sent whenever a key is pressed or released.
keyvalName :: KeyVal -> IO String
Converts a key value into a symbolic name.
keyvalFromName :: String -> IO KeyVal
Converts a key name to a key value.
keyvalToChar
:: KeyValkeyval - a Gdk key symbol
-> IO (Maybe Char)returns the corresponding unicode character, or Nothing if there is no corresponding character.
Convert from a Gdk key symbol to the corresponding Unicode character.
Produced by Haddock version 0.8