fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.LightButton

Synopsis

Documentation

lightButtonCustom Source #

Arguments

:: Rectangle

The bounds of this LightButton

-> Maybe Text

The LightButton label

-> Maybe (Ref LightButton -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs LightButton)

Optional custom widget functions

-> IO (Ref LightButton) 

Hierarchy

Functions

destroy :: Ref LightButtonBase -> IO ()

draw :: Ref LightButtonBase -> IO ()

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

hide :: Ref LightButtonBase -> ( IO ())

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

showWidget :: Ref LightButtonBase -> (IO ())

Orphan instances

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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