fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.TextEditor

Synopsis

Documentation

textEditorCustom Source #

Arguments

:: Rectangle

The bounds of this TextEditor

-> Maybe Text

The TextEditor label

-> Maybe (Ref TextEditor -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs TextEditor)

Optional custom widget functions

-> IO (Ref TextEditor) 

data KeyFunc Source #

Constructors

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

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

Hierarchy

Functions

destroy :: Ref TextEditorBase -> IO ()

draw :: Ref TextEditorBase -> IO ()

getDefaultKeyBindings :: Ref TextEditorBase -> IO [KeyBinding]

getInsertMode :: Ref TextEditorBase -> IO (Bool)

handle :: Ref TextEditorBase -> Event -> IO (Either UnknownEvent ())

hide :: Ref TextEditorBase -> IO ()

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

resize :: Ref TextEditorBase -> Rectangle -> IO ()

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

showWidget :: Ref TextEditorBase -> IO ()

Orphan instances

impl ~ ([KeyBinding] -> IO ()) => Op (ReplaceKeyBindings ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: ReplaceKeyBindings () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ IO [KeyBinding] => Op (GetDefaultKeyBindings ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: GetDefaultKeyBindings () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ IO Bool => Op (GetInsertMode ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: GetInsertMode () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ (Bool -> IO ()) => Op (SetInsertMode ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: SetInsertMode () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ IO () => Op (Draw ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: Draw () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ (Rectangle -> IO ()) => Op (Resize ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: Resize () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ IO () => Op (Hide ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: Hide () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ IO () => Op (ShowWidget ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: ShowWidget () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: Handle () -> orig -> Ref TextEditorBase -> impl Source #

impl ~ IO () => Op (Destroy ()) TextEditorBase orig impl Source # 
Instance details

Methods

runOp :: Destroy () -> orig -> Ref TextEditorBase -> impl Source #