fltkhs-0.5.1.6: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Spinner

Contents

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 Spinner -> IO ()

drawSuper :: Ref Spinner -> IO ()

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

getMaximum :: Ref Spinner -> IO (Double)

getMinimum :: Ref Spinner -> IO (Double)

getStep :: Ref Spinner -> IO (Double)

getTextcolor :: Ref Spinner -> IO (Color)

getTextfont :: Ref Spinner -> IO (Font)

getTextsize :: Ref Spinner -> IO (FontSize)

getType_ :: Ref Spinner -> IO (SpinnerType)

getValue :: Ref Spinner -> IO (Double)

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

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

hide :: Ref Spinner -> IO ()

hideSuper :: Ref Spinner -> IO ()

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

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

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

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

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

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

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

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

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

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

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

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

showWidget :: Ref Spinner -> IO ()

showWidgetSuper :: Ref Spinner -> IO ()

Orphan instances

(~) * impl (IO (Maybe Text)) => Op (GetFormat ()) Spinner orig impl Source # 

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

(~) * impl (Text -> IO ()) => Op (SetFormat ()) Spinner orig impl Source # 

Methods

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

(~) * impl (IO Double) => Op (GetStep ()) Spinner orig impl Source # 

Methods

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

(~) * impl (Double -> IO ()) => Op (SetStep ()) Spinner orig impl Source # 

Methods

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

(~) * impl (Double -> Double -> IO ()) => Op (Range ()) Spinner orig impl Source # 

Methods

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

(~) * impl (Double -> IO ()) => Op (SetMaximum ()) Spinner orig impl Source # 

Methods

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

(~) * impl (IO Double) => Op (GetMaximum ()) Spinner orig impl Source # 

Methods

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

(~) * impl (Double -> IO ()) => Op (SetMinimum ()) Spinner orig impl Source # 

Methods

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

(~) * impl (IO Double) => Op (GetMinimum ()) Spinner orig impl Source # 

Methods

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

(~) * impl (Double -> IO ()) => Op (SetValue ()) Spinner orig impl Source # 

Methods

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

(~) * impl (IO Double) => Op (GetValue ()) Spinner orig impl Source # 

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

(~) * impl (SpinnerType -> IO ()) => Op (SetType ()) Spinner orig impl Source # 

Methods

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

(~) * impl (IO SpinnerType) => Op (GetType_ ()) Spinner orig impl Source # 

Methods

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

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

Methods

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