fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Clock

Synopsis

Documentation

clockCustom Source #

Arguments

:: Rectangle

The bounds of this Clock

-> Maybe Text

The Clock label

-> Maybe (Ref Clock -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Clock)

Optional custom widget functions

-> IO (Ref Clock) 

newtype Hour Source #

Constructors

Hour Int 

Instances

Instances details
Show Hour Source # 
Instance details

Defined in Graphics.UI.FLTK.LowLevel.Base.Clock

Methods

showsPrec :: Int -> Hour -> ShowS #

show :: Hour -> String #

showList :: [Hour] -> ShowS #

newtype Minute Source #

Constructors

Minute Int 

Instances

Instances details
Show Minute Source # 
Instance details

Defined in Graphics.UI.FLTK.LowLevel.Base.Clock

newtype Second Source #

Constructors

Second Int 

Instances

Instances details
Show Second Source # 
Instance details

Defined in Graphics.UI.FLTK.LowLevel.Base.Clock

data ClockByTime Source #

Instances

Instances details
Show ClockByTime Source # 
Instance details

Defined in Graphics.UI.FLTK.LowLevel.Base.Clock

Hierarchy

Clock

draw :: Ref ClockBase -> IO ()

getShadow :: Ref ClockBase -> IO Bool

getType_ :: Ref ClockBase -> IO (ClockType)

getValue :: Ref ClockBase -> IO ClockByTime

getValueSinceEpoch :: Ref ClockBase -> IO ClockSinceEpoch

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

hide :: Ref ClockBase -> IO ()

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

setShadow :: Ref ClockBase -> Bool -> IO ()

setType :: Ref ClockBase -> ClockType -> IO ()

setValue :: Ref ClockBase -> ClockSetTimeType -> IO ()

showWidget :: Ref ClockBase -> IO ()

Orphan instances

impl ~ (Bool -> IO ()) => Op (SetShadow ()) ClockBase orig impl Source # 
Instance details

Methods

runOp :: SetShadow () -> orig -> Ref ClockBase -> impl Source #

impl ~ IO Bool => Op (GetShadow ()) ClockBase orig impl Source # 
Instance details

Methods

runOp :: GetShadow () -> orig -> Ref ClockBase -> impl Source #

impl ~ IO ClockSinceEpoch => Op (GetValueSinceEpoch ()) ClockBase orig impl Source # 
Instance details

Methods

runOp :: GetValueSinceEpoch () -> orig -> Ref ClockBase -> impl Source #

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

Methods

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

impl ~ (ClockSetTimeType -> IO ()) => Op (SetValue ()) ClockBase orig impl Source # 
Instance details

Methods

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

impl ~ IO ClockByTime => Op (GetValue ()) ClockBase orig impl Source # 
Instance details

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

impl ~ (ClockType -> IO ()) => Op (SetType ()) ClockBase orig impl Source # 
Instance details

Methods

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

impl ~ IO ClockType => Op (GetType_ ()) ClockBase orig impl Source # 
Instance details

Methods

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

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

Methods

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