fltkhs-0.5.1.4: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Input

Contents

Synopsis

Documentation

Constructor

inputCustom Source #

Arguments

:: Rectangle

The bounds of this Input

-> Maybe Text

The Input label

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

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Input)

Optional custom widget functions

-> IO (Ref Input) 

Hierarchy

Input

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

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

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

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

cutRange :: Ref Input -> Int -> Int -> IO (Either NoChange ())

destroy :: Ref Input -> IO ()

draw :: Ref Input -> IO ()

drawSuper :: Ref Input -> IO ()

getCursorColor :: Ref Input -> IO (Color)

getInputType :: Ref Input -> IO (Int)

getMark :: Ref Input -> IO (Int)

getMaximumSize :: Ref Input -> IO (Int)

getPosition :: Ref Input -> IO (Int)

getReadonly :: Ref Input -> IO (Int)

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

getSize :: Ref Input -> IO (Int)

getTabNav :: Ref Input -> Int -> IO ()

getTextcolor :: Ref Input -> IO (Color)

getTextfont :: Ref Input -> IO (Font)

getTextsize :: Ref Input -> IO (FontSize)

getValue :: Ref Input -> IO Text

getWrap :: Ref Input -> IO (Int)

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

handleSuper :: Ref Input -> Event -> IO (Either UnknownEvent ())

hide :: Ref Input -> IO ()

hideSuper :: Ref Input -> IO ()

index :: Ref Input -> Int -> IO (Char)

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

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

replace :: Ref Input -> Int -> Int -> Text -> IO (Either NoChange ())

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

resizeSuper :: Ref Input -> Rectangle -> IO ()

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

setInputType :: Ref Input -> Int -> IO ()

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

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

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

setReadonly :: Ref Input -> Int -> IO ()

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

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

setTabNav :: Ref Input -> IO (Int)

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

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

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

setType :: Ref Input -> FlInputType -> IO ()

setValue :: Ref Input -> Text -> Maybe Int -> IO (Int)

setWrap :: Ref Input -> Int -> IO ()

showWidget :: Ref Input -> IO ()

showWidgetSuper :: Ref Input -> IO ()

staticValue :: Ref Input -> Text -> Maybe Int -> IO (Either NoChange ())

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

Orphan instances

(~) * impl (IO Int) => Op (SetTabNav ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO ()) => Op (GetTabNav ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO ()) => Op (SetWrap ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (GetWrap ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO ()) => Op (SetReadonly ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (GetReadonly ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO ()) => Op (SetInputType ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (GetInputType ()) Input orig impl Source # 

Methods

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

(~) * impl (Color -> IO ()) => Op (SetCursorColor ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Color) => Op (GetCursorColor ()) Input orig impl Source # 

Methods

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

(~) * impl (IO (Either NoChange ())) => Op (CopyCuts ()) Input orig impl Source # 

Methods

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

(~) * impl (IO (Either NoChange ())) => Op (Undo ()) Input orig impl Source # 

Methods

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

(~) * impl (Text -> Int -> IO (Either NoChange ())) => Op (InsertWithLength ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> Int -> IO (Either NoChange ())) => Op (CutRange ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO (Either NoChange ())) => Op (CutFromCursor ()) Input orig impl Source # 

Methods

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

(~) * impl (IO (Either NoChange ())) => Op (Cut ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO (Either NoChange ())) => Op (SetMark ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> Maybe Int -> IO (Either NoChange ())) => Op (SetPosition ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (GetMark ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (GetPosition ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO ()) => Op (SetMaximumSize ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (GetMaximumSize ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> IO Char) => Op (Index ()) Input orig impl Source # 

Methods

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

(~) * impl (Text -> Maybe Int -> IO (Either NoChange ())) => Op (StaticValue ()) Input orig impl Source # 

Methods

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

(~) * impl (Color -> IO ()) => Op (SetTextcolor ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Color) => Op (GetTextcolor ()) Input orig impl Source # 

Methods

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

(~) * impl (FontSize -> IO ()) => Op (SetTextsize ()) Input orig impl Source # 

Methods

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

(~) * impl (IO FontSize) => Op (GetTextsize ()) Input orig impl Source # 

Methods

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

(~) * impl (Font -> IO ()) => Op (SetTextfont ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Font) => Op (GetTextfont ()) Input orig impl Source # 

Methods

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

(~) * impl (Int -> Int -> Text -> IO (Either NoChange ())) => Op (Replace ()) Input orig impl Source # 

Methods

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

(~) * impl (Size -> IO ()) => Op (SetSize ()) Input orig impl Source # 

Methods

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

(~) * impl (Clipboard -> IO (Either NoChange ())) => Op (Copy ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Int) => Op (GetSize ()) Input orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Draw ()) Input orig impl Source # 

Methods

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

(~) * impl (ShortcutKeySequence -> IO ()) => Op (SetShortcut ()) Input orig impl Source # 

Methods

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

(~) * impl (IO (Maybe ShortcutKeySequence)) => Op (GetShortcut ()) Input orig impl Source # 

Methods

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

(~) * impl (Text -> Maybe Int -> IO Int) => Op (SetValue ()) Input orig impl Source # 

Methods

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

(~) * impl (IO Text) => Op (GetValue ()) Input orig impl Source # 

Methods

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

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) Input orig impl Source # 

Methods

runOp :: HandleSuper () -> orig -> Ref Input -> impl Source #

(~) * impl (IO ()) => Op (DrawSuper ()) Input orig impl Source # 

Methods

runOp :: DrawSuper () -> orig -> Ref Input -> impl Source #

(~) * impl (Text -> IO (Either NoChange ())) => Op (Insert ()) Input orig impl Source # 

Methods

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

(~) * impl (Rectangle -> IO ()) => Op (Resize ()) Input orig impl Source # 

Methods

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

(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) Input orig impl Source # 

Methods

runOp :: ResizeSuper () -> orig -> Ref Input -> impl Source #

(~) * impl (IO ()) => Op (Hide ()) Input orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (HideSuper ()) Input orig impl Source # 

Methods

runOp :: HideSuper () -> orig -> Ref Input -> impl Source #

(~) * impl (IO ()) => Op (ShowWidget ()) Input orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (ShowWidgetSuper ()) Input orig impl Source # 

Methods

runOp :: ShowWidgetSuper () -> orig -> Ref Input -> impl Source #

(~) * impl (FlInputType -> IO ()) => Op (SetType ()) Input orig impl Source # 

Methods

runOp :: SetType () -> orig -> Ref Input -> impl Source #

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) Input orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Destroy ()) Input orig impl Source # 

Methods

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