fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Input

Synopsis

Documentation

Constructor

inputCustom Source #

Arguments

:: Rectangle

The bounds of this Input

-> Maybe Text

The Input label

-> Maybe FlInputType

The input type

-> Maybe (Ref Input -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Input)

Optional custom widget functions

-> IO (Ref Input) 

Hierarchy

Fl_Input functions

copy :: Ref InputBase -> Clipboard -> IO (Either NoChange ())

copyCuts :: Ref InputBase -> IO (Either NoChange ())

cut :: Ref InputBase -> IO (Either NoChange ())

cutFromCursor :: Ref InputBase -> Int -> IO (Either NoChange ())

cutRange :: Ref InputBase -> IndexRange -> IO (Either NoChange ())

destroy :: Ref InputBase -> IO ()

draw :: Ref InputBase -> IO ()

drawText :: Ref InputBase -> Rectangle -> IO ()

getCursorColor :: Ref InputBase -> IO (Color)

getInputType :: Ref InputBase -> IO (FlInputType)

getMark :: Ref InputBase -> IO (Int)

getMaximumSize :: Ref InputBase -> IO (Int)

getPosition :: Ref InputBase -> IO (Int)

getReadonly :: Ref InputBase -> IO (Bool)

getShortcut :: Ref InputBase -> IO (Maybe ShortcutKeySequence)

getSize :: Ref InputBase -> IO (Int)

getTabNav :: Ref InputBase -> IO (Bool)

getTextcolor :: Ref InputBase -> IO (Color)

getTextfont :: Ref InputBase -> IO (Font)

getTextsize :: Ref InputBase -> IO (FontSize)

getValue :: Ref InputBase -> IO Text

getWrap :: Ref InputBase -> IO (Bool)

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

hide :: Ref InputBase -> IO ()

index :: Ref InputBase -> AtIndex -> IO (Char)

insert :: Ref InputBase -> Text -> IO (Either NoChange ())

insertWithLength :: Ref InputBase -> Text -> Int -> IO (Either NoChange ())

replace :: Ref InputBase -> IndexRange -> Text -> IO (Either NoChange ())

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

setCursorColor :: Ref InputBase -> Color -> IO ()

setInputType :: Ref InputBase -> FlInputType -> IO ()

setMark :: Ref InputBase -> Int -> IO (Either NoChange ())

setMaximumSize :: Ref InputBase -> Int -> IO ()

setPosition :: Ref InputBase -> Int -> Maybe Int -> IO (Either NoChange ())

setReadonly :: Ref InputBase -> Bool -> IO ()

setShortcut :: Ref InputBase -> ShortcutKeySequence -> IO ()

setSize :: Ref InputBase -> Size -> IO ()

setTabNav :: Ref InputBase -> Bool -> IO ()

setTextcolor :: Ref InputBase -> Color -> IO ()

setTextfont :: Ref InputBase -> Font -> IO ()

setTextsize :: Ref InputBase -> FontSize -> IO ()

setValue :: Ref InputBase -> Text -> IO (Either NoChange ())

setWrap :: Ref InputBase -> Bool -> IO ()

showWidget :: Ref InputBase -> IO ()

staticValue :: Ref InputBase -> Text -> IO (Either NoChange ())

undo :: Ref InputBase -> IO (Either NoChange ())

Orphan instances

impl ~ (Rectangle -> IO ()) => Op (DrawText ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: DrawText () -> orig -> Ref InputBase -> impl Source #

impl ~ (Bool -> IO ()) => Op (SetTabNav ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetTabNav () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Bool => Op (GetTabNav ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetTabNav () -> orig -> Ref InputBase -> impl Source #

impl ~ (Bool -> IO ()) => Op (SetWrap ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetWrap () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Bool => Op (GetWrap ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetWrap () -> orig -> Ref InputBase -> impl Source #

impl ~ (Bool -> IO ()) => Op (SetReadonly ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetReadonly () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Bool => Op (GetReadonly ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetReadonly () -> orig -> Ref InputBase -> impl Source #

impl ~ (FlInputType -> IO ()) => Op (SetInputType ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetInputType () -> orig -> Ref InputBase -> impl Source #

impl ~ IO FlInputType => Op (GetInputType ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetInputType () -> orig -> Ref InputBase -> impl Source #

impl ~ (Color -> IO ()) => Op (SetCursorColor ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetCursorColor () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Color => Op (GetCursorColor ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetCursorColor () -> orig -> Ref InputBase -> impl Source #

impl ~ IO (Either NoChange ()) => Op (CopyCuts ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: CopyCuts () -> orig -> Ref InputBase -> impl Source #

impl ~ IO (Either NoChange ()) => Op (Undo ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: Undo () -> orig -> Ref InputBase -> impl Source #

impl ~ (Text -> Int -> IO (Either NoChange ())) => Op (InsertWithLength ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: InsertWithLength () -> orig -> Ref InputBase -> impl Source #

impl ~ (IndexRange -> IO (Either NoChange ())) => Op (CutRange ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: CutRange () -> orig -> Ref InputBase -> impl Source #

impl ~ (Int -> IO (Either NoChange ())) => Op (CutFromCursor ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: CutFromCursor () -> orig -> Ref InputBase -> impl Source #

impl ~ IO (Either NoChange ()) => Op (Cut ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: Cut () -> orig -> Ref InputBase -> impl Source #

impl ~ (Int -> IO (Either NoChange ())) => Op (SetMark ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetMark () -> orig -> Ref InputBase -> impl Source #

impl ~ (Int -> Maybe Int -> IO (Either NoChange ())) => Op (SetPosition ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetPosition () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Int => Op (GetMark ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetMark () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Int => Op (GetPosition ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetPosition () -> orig -> Ref InputBase -> impl Source #

impl ~ (Int -> IO ()) => Op (SetMaximumSize ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetMaximumSize () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Int => Op (GetMaximumSize ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetMaximumSize () -> orig -> Ref InputBase -> impl Source #

impl ~ (AtIndex -> IO Char) => Op (Index ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: Index () -> orig -> Ref InputBase -> impl Source #

impl ~ (Text -> IO (Either NoChange ())) => Op (StaticValue ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: StaticValue () -> orig -> Ref InputBase -> impl Source #

impl ~ (Color -> IO ()) => Op (SetTextcolor ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetTextcolor () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Color => Op (GetTextcolor ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetTextcolor () -> orig -> Ref InputBase -> impl Source #

impl ~ (FontSize -> IO ()) => Op (SetTextsize ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetTextsize () -> orig -> Ref InputBase -> impl Source #

impl ~ IO FontSize => Op (GetTextsize ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetTextsize () -> orig -> Ref InputBase -> impl Source #

impl ~ (Font -> IO ()) => Op (SetTextfont ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetTextfont () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Font => Op (GetTextfont ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetTextfont () -> orig -> Ref InputBase -> impl Source #

impl ~ (IndexRange -> Text -> IO (Either NoChange ())) => Op (Replace ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: Replace () -> orig -> Ref InputBase -> impl Source #

impl ~ (Size -> IO ()) => Op (SetSize ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetSize () -> orig -> Ref InputBase -> impl Source #

impl ~ (Clipboard -> IO (Either NoChange ())) => Op (Copy ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: Copy () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Int => Op (GetSize ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetSize () -> orig -> Ref InputBase -> impl Source #

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

Methods

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

impl ~ (ShortcutKeySequence -> IO ()) => Op (SetShortcut ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetShortcut () -> orig -> Ref InputBase -> impl Source #

impl ~ IO (Maybe ShortcutKeySequence) => Op (GetShortcut ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetShortcut () -> orig -> Ref InputBase -> impl Source #

impl ~ (Text -> IO (Either NoChange ())) => Op (SetValue ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: SetValue () -> orig -> Ref InputBase -> impl Source #

impl ~ IO Text => Op (GetValue ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: GetValue () -> orig -> Ref InputBase -> impl Source #

impl ~ (Text -> IO (Either NoChange ())) => Op (Insert ()) InputBase orig impl Source # 
Instance details

Methods

runOp :: Insert () -> orig -> Ref InputBase -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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