fltkhs-0.5.1.9: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Slider

Contents

Synopsis

Documentation

sliderCustom Source #

Arguments

:: Rectangle

The bounds of this Slider

-> Maybe Text

The Slider label

-> Maybe (Ref Slider -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Slider)

Optional custom widget functions

-> IO (Ref Slider) 

Hierarchy

Functions

bounds :: Ref Slider -> Double -> Double -> IO ()

destroy :: Ref Slider -> IO ()

draw :: Ref Slider -> IO ()

drawSuper :: Ref Slider -> IO ()

getSlider :: Ref Slider -> IO (Boxtype)

getSliderSize :: Ref Slider -> Double -> IO ()

getType_ :: Ref Slider -> IO (SliderType)

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

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

hide :: Ref Slider -> IO ()

hideSuper :: Ref Slider -> IO ()

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

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

scrollvalue :: Ref Slider -> Int -> Int -> Int -> Int -> IO (Int)

setSlider :: Ref Slider -> Boxtype -> IO ()

setSliderSize :: Ref Slider -> IO (Float)

setType :: Ref Slider -> SliderType -> IO ()

showWidget :: Ref Slider -> IO ()

showWidgetSuper :: Ref Slider -> IO ()

Orphan instances

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

Methods

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

(~) * impl (Boxtype -> IO ()) => Op (SetSlider ()) Slider orig impl Source # 

Methods

runOp :: SetSlider () -> orig -> Ref Slider -> impl Source #

(~) * impl (IO Boxtype) => Op (GetSlider ()) Slider orig impl Source # 

Methods

runOp :: GetSlider () -> orig -> Ref Slider -> impl Source #

(~) * impl (Double -> IO ()) => Op (GetSliderSize ()) Slider orig impl Source # 

Methods

runOp :: GetSliderSize () -> orig -> Ref Slider -> impl Source #

(~) * impl (IO Float) => Op (SetSliderSize ()) Slider orig impl Source # 

Methods

runOp :: SetSliderSize () -> orig -> Ref Slider -> impl Source #

(~) * impl (Int -> Int -> Int -> Int -> IO Int) => Op (Scrollvalue ()) Slider orig impl Source # 

Methods

runOp :: Scrollvalue () -> orig -> Ref Slider -> impl Source #

(~) * impl (Double -> Double -> IO ()) => Op (Bounds ()) Slider orig impl Source # 

Methods

runOp :: Bounds () -> orig -> Ref Slider -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

(~) * impl (SliderType -> IO ()) => Op (SetType ()) Slider orig impl Source # 

Methods

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

(~) * impl (IO SliderType) => Op (GetType_ ()) Slider orig impl Source # 

Methods

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

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

Methods

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

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

Methods

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