| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.Base.RoundButton
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 #
Arguments
| :: 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 ::RefRoundButtonBase->IO() draw ::RefRoundButtonBase->IO() handle ::RefRoundButtonBase->Event->IO(EitherUnknownEvent()) hide ::RefRoundButtonBase->IO() resize ::RefRoundButtonBase->Rectangle->IO() showWidget ::RefRoundButtonBase->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 # | |
Methods 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 # | |