fltkhs-0.5.3.4: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Choice

Contents

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 Choice -> IO ()

draw :: Ref Choice -> IO ()

drawSuper :: Ref Choice -> IO ()

getValue :: Ref Choice -> IO (MenuItemIndex)

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

handleSuper :: Ref Choice -> Event -> IO (Either UnknownEvent ())

hide :: Ref Choice -> IO ()

hideSuper :: Ref Choice -> IO ()

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

resizeSuper :: Ref Choice -> Rectangle -> IO ()

setValue :: Ref Choice -> MenuItemReference -> IO (Int)

showWidget :: Ref Choice -> IO ()

showWidgetSuper :: Ref Choice -> IO ()

Orphan instances

(~) * impl (IO ()) => Op (Draw ()) Choice orig impl Source # 

Methods

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

(~) * impl (MenuItemReference -> IO Int) => Op (SetValue ()) Choice orig impl Source # 

Methods

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

(~) * impl (IO MenuItemIndex) => Op (GetValue ()) Choice orig impl Source # 

Methods

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

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) Choice orig impl Source # 

Methods

runOp :: HandleSuper () -> orig -> Ref Choice -> impl Source #

(~) * impl (IO ()) => Op (DrawSuper ()) Choice orig impl Source # 

Methods

runOp :: DrawSuper () -> orig -> Ref Choice -> impl Source #

(~) * impl (Rectangle -> IO ()) => Op (Resize ()) Choice orig impl Source # 

Methods

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

(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) Choice orig impl Source # 

Methods

runOp :: ResizeSuper () -> orig -> Ref Choice -> impl Source #

(~) * impl (IO ()) => Op (Hide ()) Choice orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (HideSuper ()) Choice orig impl Source # 

Methods

runOp :: HideSuper () -> orig -> Ref Choice -> impl Source #

(~) * impl (IO ()) => Op (ShowWidget ()) Choice orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (ShowWidgetSuper ()) Choice orig impl Source # 

Methods

runOp :: ShowWidgetSuper () -> orig -> Ref Choice -> impl Source #

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) Choice orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Destroy ()) Choice orig impl Source # 

Methods

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