fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Choice

Synopsis

Constructor

choiceCustom Source #

Arguments

:: Rectangle

The bounds of this Choice

-> Maybe Text

The Choice label

-> Maybe (Ref Choice -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Choice)

Optional custom widget functions

-> IO (Ref Choice) 

Hierarchy

Choice

destroy :: Ref ChoiceBase -> IO ()

draw :: Ref ChoiceBase -> IO ()

getValue :: Ref ChoiceBase -> IO (AtIndex)

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

hide :: Ref ChoiceBase -> IO ()

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

setValue :: Ref ChoiceBase -> MenuItemReference -> IO (Either NoChange ())

showWidget :: Ref ChoiceBase -> IO ()

Orphan instances

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

Methods

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

impl ~ (MenuItemReference -> IO (Either NoChange ())) => Op (SetValue ()) ChoiceBase orig impl Source # 
Instance details

Methods

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

impl ~ IO AtIndex => Op (GetValue ()) ChoiceBase orig impl Source # 
Instance details

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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