Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- lightButtonNew :: Rectangle -> Maybe Text -> IO (Ref LightButton)
- lightButtonCustom :: Rectangle -> Maybe Text -> Maybe (Ref LightButton -> IO ()) -> Maybe (CustomWidgetFuncs LightButton) -> IO (Ref LightButton)
- drawLightButtonBase :: Ref LightButtonBase -> IO ()
- handleLightButtonBase :: Ref LightButtonBase -> Event -> IO (Either UnknownEvent ())
- resizeLightButtonBase :: Ref LightButtonBase -> Rectangle -> IO ()
- hideLightButtonBase :: Ref LightButtonBase -> IO ()
- showWidgetLightButtonBase :: Ref LightButtonBase -> IO ()
Documentation
lightButtonNew :: Rectangle -> Maybe Text -> IO (Ref LightButton) Source #
:: Rectangle | The bounds of this LightButton |
-> Maybe Text | The LightButton label |
-> Maybe (Ref LightButton -> IO ()) | Optional custom drawing function |
-> Maybe (CustomWidgetFuncs LightButton) | Optional custom widget functions |
-> IO (Ref LightButton) |
drawLightButtonBase :: Ref LightButtonBase -> IO () Source #
handleLightButtonBase :: Ref LightButtonBase -> Event -> IO (Either UnknownEvent ()) Source #
resizeLightButtonBase :: Ref LightButtonBase -> Rectangle -> IO () Source #
hideLightButtonBase :: Ref LightButtonBase -> IO () Source #
showWidgetLightButtonBase :: Ref LightButtonBase -> IO () Source #
Hierarchy
Graphics.UI.FLTK.LowLevel.Base.Widget | v Graphics.UI.FLTK.LowLevel.Base.Button | v Graphics.UI.FLTK.LowLevel.Base.LightButton
Functions
destroy ::Ref
LightButtonBase
->IO
() draw ::Ref
LightButtonBase
->IO
() handle ::Ref
LightButtonBase
-> (Event
->IO
(Either
UnknownEvent
())) hide ::Ref
LightButtonBase
-> (IO
()) resize ::Ref
LightButtonBase
-> (Rectangle
->IO
()) showWidget ::Ref
LightButtonBase
-> (IO
())
Orphan instances
impl ~ IO () => Op (Draw ()) LightButtonBase orig impl Source # | |
impl ~ (Rectangle -> IO ()) => Op (Resize ()) LightButtonBase orig impl Source # | |
impl ~ IO () => Op (Hide ()) LightButtonBase orig impl Source # | |
impl ~ IO () => Op (ShowWidget ()) LightButtonBase orig impl Source # | |
runOp :: ShowWidget () -> orig -> Ref LightButtonBase -> impl Source # | |
impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) LightButtonBase orig impl Source # | |
impl ~ IO () => Op (Destroy ()) LightButtonBase orig impl Source # | |