fltkhs-0.4.0.2: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.TextEditor

Contents

Synopsis

Documentation

data KeyFunc Source

Constructors

forall a . Parent a TextEditor => KeyFunc (Ref a -> Char -> IO ()) 

type KeyFuncPrim = CInt -> Ptr () -> IO () Source

Hierarchy

Functions

destroy :: Ref TextEditor -> IO ()

getDefaultKeyBindings :: Ref TextEditor -> IO [KeyBinding]

getInsertMode :: Ref TextEditor -> IO Bool

handle :: Ref TextEditor -> Event -> IO Int

replaceKeyBindings :: Ref TextEditor -> [KeyBinding] -> IO ()

setInsertMode :: Ref TextEditor -> Bool -> IO ()