fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Spinner

Synopsis

Constructor

spinnerCustom Source #

Arguments

:: Rectangle

The bounds of this Spinner

-> Maybe Text

The Spinner label

-> Maybe (Ref Spinner -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Spinner)

Optional custom widget functions

-> IO (Ref Spinner) 

Hierarchy

Functions

draw :: Ref SpinnerBase -> IO ()

getFormat :: Ref SpinnerBase -> IO (Maybe Text)

getMaximum :: Ref SpinnerBase -> IO (Double)

getMinimum :: Ref SpinnerBase -> IO (Double)

getStep :: Ref SpinnerBase -> IO (Double)

getTextcolor :: Ref SpinnerBase -> IO (Color)

getTextfont :: Ref SpinnerBase -> IO (Font)

getTextsize :: Ref SpinnerBase -> IO (FontSize)

getType_ :: Ref SpinnerBase -> IO (SpinnerType)

getValue :: Ref SpinnerBase -> IO (Double)

getWrap :: Ref SpinnerBase -> IO (Bool)

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

hide :: Ref SpinnerBase -> IO ()

range :: Ref SpinnerBase -> Double -> Double -> IO ()

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

setFormat :: Ref SpinnerBase -> Text -> IO ()

setMaximum :: Ref SpinnerBase -> Double -> IO ()

setMinimum :: Ref SpinnerBase -> Double -> IO ()

setStep :: Ref SpinnerBase -> Double -> IO ()

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

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

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

setType :: Ref SpinnerBase -> SpinnerType -> IO ()

setValue :: Ref SpinnerBase -> Double -> IO ()

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

showWidget :: Ref SpinnerBase -> IO ()

Orphan instances

impl ~ (Text -> IO ()) => Op (SetFormat ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: SetFormat () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ IO (Maybe Text) => Op (GetFormat ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: GetFormat () -> orig -> Ref SpinnerBase -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

impl ~ IO Double => Op (GetStep ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: GetStep () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ (Double -> IO ()) => Op (SetStep ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: SetStep () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ (Double -> Double -> IO ()) => Op (Range ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: Range () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ (Double -> IO ()) => Op (SetMaximum ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: SetMaximum () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ IO Double => Op (GetMaximum ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: GetMaximum () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ (Double -> IO ()) => Op (SetMinimum ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: SetMinimum () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ IO Double => Op (GetMinimum ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: GetMinimum () -> orig -> Ref SpinnerBase -> impl Source #

impl ~ (Double -> IO ()) => Op (SetValue ()) SpinnerBase orig impl Source # 
Instance details

Methods

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

impl ~ IO Double => Op (GetValue ()) SpinnerBase orig impl Source # 
Instance details

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

impl ~ (SpinnerType -> IO ()) => Op (SetType ()) SpinnerBase orig impl Source # 
Instance details

Methods

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

impl ~ IO SpinnerType => Op (GetType_ ()) SpinnerBase orig impl Source # 
Instance details

Methods

runOp :: GetType_ () -> orig -> Ref SpinnerBase -> impl Source #

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

Methods

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