fltkhs-0.8.0.2: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.ReturnButton

Contents

Synopsis

Documentation

returnButtonCustom Source #

Arguments

:: Rectangle

The bounds of this ReturnButton

-> Maybe Text

The ReturnButton label

-> Maybe (Ref ReturnButton -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs ReturnButton)

Optional custom widget functions

-> IO (Ref ReturnButton) 

Hierarchy

Functions

destroy :: Ref ReturnButtonBase -> IO ()

draw :: Ref ReturnButtonBase -> IO ()

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

hide :: Ref ReturnButtonBase -> IO ()

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

showWidget :: Ref ReturnButtonBase -> IO ()

Orphan instances

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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