Safe Haskell | None |
---|---|
Language | Haskell2010 |
- textEditorNew :: Rectangle -> Maybe String -> IO (Ref TextEditor)
- data KeyBinding = KeyBinding KeyBindingKeySequence FunRef
- data KeyFunc = forall a . Parent a TextEditor => KeyFunc (Ref a -> Char -> IO ())
- type KeyFuncPrim = CInt -> Ptr () -> IO ()
- keyFuncToFunRef :: KeyFunc -> IO FunRef
- toKeyFuncPrim :: KeyFunc -> IO (FunPtr KeyFuncPrim)
- keyBindingsToArray :: [KeyBinding] -> IO (Ptr ())
- arrayToKeyBindings :: Ptr () -> IO [KeyBinding]
Documentation
textEditorNew :: Rectangle -> Maybe String -> IO (Ref TextEditor) Source
type KeyFuncPrim = CInt -> Ptr () -> IO () Source
keyFuncToFunRef :: KeyFunc -> IO FunRef Source
toKeyFuncPrim :: KeyFunc -> IO (FunPtr KeyFuncPrim) Source
keyBindingsToArray :: [KeyBinding] -> IO (Ptr ()) Source
arrayToKeyBindings :: 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 ::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
()