| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.TextEditor
- textEditorNew :: Rectangle -> Maybe String -> IO (Ref TextEditor)
- data KeyBinding = KeyBinding KeyBindingKeySequence FunRef
- data KeyFunc = Parent a TextEditor => KeyFunc (Ref a -> Char -> IO ())
- type KeyFuncPrim = C2HSImp.CInt -> C2HSImp.Ptr () -> IO ()
- keyFuncToFunRef :: KeyFunc -> IO FunRef
- toKeyFuncPrim :: KeyFunc -> IO (C2HSImp.FunPtr KeyFuncPrim)
- keyBindingsToArray :: [KeyBinding] -> IO (C2HSImp.Ptr ())
- arrayToKeyBindings :: C2HSImp.Ptr () -> IO [KeyBinding]
Documentation
textEditorNew :: Rectangle -> Maybe String -> IO (Ref TextEditor) Source #
data KeyBinding Source #
Constructors
| KeyBinding KeyBindingKeySequence FunRef |
type KeyFuncPrim = C2HSImp.CInt -> C2HSImp.Ptr () -> IO () Source #
toKeyFuncPrim :: KeyFunc -> IO (C2HSImp.FunPtr KeyFuncPrim) Source #
keyBindingsToArray :: [KeyBinding] -> IO (C2HSImp.Ptr ()) Source #
arrayToKeyBindings :: C2HSImp.Ptr () -> IO [KeyBinding] Source #
Hierarchy
Graphics.UI.FLTK.LowLevel.Widget | v Graphics.UI.FLTK.LowLevel.Group | v Graphics.UI.FLTK.LowLevel.TextDisplay | v Graphics.UI.FLTK.LowLevel.TextEditor
Functions
destroy ::RefTextEditor->IO() getDefaultKeyBindings ::RefTextEditor->IO[KeyBinding] getInsertMode ::RefTextEditor->IOBoolhandle ::RefTextEditor->Event->IOIntreplaceKeyBindings ::RefTextEditor-> [KeyBinding] ->IO() setInsertMode ::RefTextEditor->Bool->IO()
Orphan instances
| (~) * impl ([KeyBinding] -> IO ()) => Op (ReplaceKeyBindings ()) TextEditor orig impl Source # | |
| (~) * impl (IO [KeyBinding]) => Op (GetDefaultKeyBindings ()) TextEditor orig impl Source # | |
| (~) * impl (IO Bool) => Op (GetInsertMode ()) TextEditor orig impl Source # | |
| (~) * impl (Bool -> IO ()) => Op (SetInsertMode ()) TextEditor orig impl Source # | |
| (~) * impl (Event -> IO Int) => Op (Handle ()) TextEditor orig impl Source # | |
| (~) * impl (IO ()) => Op (Destroy ()) TextEditor orig impl Source # | |