Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- roundButtonNew :: Rectangle -> Maybe Text -> IO (Ref RoundButton)
- roundButtonCustom :: Rectangle -> Maybe Text -> Maybe (Ref RoundButton -> IO ()) -> Maybe (CustomWidgetFuncs RoundButton) -> IO (Ref RoundButton)
- drawRoundButtonBase :: Ref RoundButtonBase -> IO ()
- handleRoundButtonBase :: Ref RoundButtonBase -> Event -> IO (Either UnknownEvent ())
- resizeRoundButtonBase :: Ref RoundButtonBase -> Rectangle -> IO ()
- hideRoundButtonBase :: Ref RoundButtonBase -> IO ()
- showWidgetRoundButtonBase :: Ref RoundButtonBase -> IO ()
Documentation
roundButtonNew :: Rectangle -> Maybe Text -> IO (Ref RoundButton) Source #
:: Rectangle | The bounds of this RoundButton |
-> Maybe Text | The RoundButton label |
-> Maybe (Ref RoundButton -> IO ()) | Optional custom drawing function |
-> Maybe (CustomWidgetFuncs RoundButton) | Optional custom widget functions |
-> IO (Ref RoundButton) |
drawRoundButtonBase :: Ref RoundButtonBase -> IO () Source #
handleRoundButtonBase :: Ref RoundButtonBase -> Event -> IO (Either UnknownEvent ()) Source #
resizeRoundButtonBase :: Ref RoundButtonBase -> Rectangle -> IO () Source #
hideRoundButtonBase :: Ref RoundButtonBase -> IO () Source #
showWidgetRoundButtonBase :: Ref RoundButtonBase -> IO () Source #
Hierarchy
Graphics.UI.FLTK.LowLevel.Base.Widget | v Graphics.UI.FLTK.LowLevel.Base.Button | v Graphics.UI.FLTK.LowLevel.Base.RoundButton
Functions
destroy ::Ref
RoundButtonBase
->IO
() draw ::Ref
RoundButtonBase
->IO
() handle ::Ref
RoundButtonBase
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
RoundButtonBase
->IO
() resize ::Ref
RoundButtonBase
->Rectangle
->IO
() showWidget ::Ref
RoundButtonBase
->IO
()
Orphan instances
impl ~ IO () => Op (Draw ()) RoundButtonBase orig impl Source # | |
impl ~ (Rectangle -> IO ()) => Op (Resize ()) RoundButtonBase orig impl Source # | |
impl ~ IO () => Op (Hide ()) RoundButtonBase orig impl Source # | |
impl ~ IO () => Op (ShowWidget ()) RoundButtonBase orig impl Source # | |
runOp :: ShowWidget () -> orig -> Ref RoundButtonBase -> impl Source # | |
impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) RoundButtonBase orig impl Source # | |
impl ~ IO () => Op (Destroy ()) RoundButtonBase orig impl Source # | |