fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Counter

Synopsis

Constructor

counterCustom Source #

Arguments

:: Rectangle

The bounds of this Counter

-> Maybe Text

The Counter label

-> Maybe (Ref Counter -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Counter)

Optional custom widget functions

-> IO (Ref Counter) 

Hierarchy

Functions

destroy :: Ref CounterBase -> IO () draw :: Ref CounterBase -> IO () getTextcolor :: Ref CounterBase -> IO (Color) getTextfont :: Ref CounterBase -> IO (Font) getTextsize :: Ref CounterBase -> IO (FontSize) getType_ :: Ref CounterBase -> IO (CounterType) handle :: Ref CounterBase -> Event -> IO (Either UnknownEvent ()) hide :: Ref CounterBase -> IO () resize :: Ref CounterBase -> Rectangle -> IO () setLstep :: Ref CounterBase -> Double -> IO () setTextcolor :: Ref CounterBase -> Color -> IO () setTextfont :: Ref CounterBase -> Font -> IO () setTextsize :: Ref CounterBase -> FontSize -> IO () setType :: Ref CounterBase -> CounterType -> IO () showWidget :: Ref CounterBase -> IO () 

Orphan instances

impl ~ (Double -> IO ()) => Op (SetLstep ()) CounterBase orig impl Source # 
Instance details

Methods

runOp :: SetLstep () -> orig -> Ref CounterBase -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

impl ~ (CounterType -> IO ()) => Op (SetType ()) CounterBase orig impl Source # 
Instance details

Methods

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

impl ~ IO CounterType => Op (GetType_ ()) CounterBase orig impl Source # 
Instance details

Methods

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

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

Methods

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

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

Methods

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