fltkhs-0.3.0.1: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.TextEditor

Contents

Synopsis

Documentation

data KeyFunc

Constructors

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

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

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 ()