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