Safe Haskell | None |
---|---|
Language | Haskell2010 |
- lightButtonNew :: Rectangle -> Maybe Text -> IO (Ref LightButton)
- lightButtonCustom :: Rectangle -> Maybe Text -> Maybe (Ref LightButton -> IO ()) -> Maybe (CustomWidgetFuncs LightButton) -> IO (Ref LightButton)
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) |
Hierarchy
Graphics.UI.FLTK.LowLevel.Widget | v Graphics.UI.FLTK.LowLevel.Button | v Graphics.UI.FLTK.LowLevel.LightButton
Functions
destroy ::Ref
LightButton
->IO
() draw ::Ref
LightButton
->IO
() drawSuper ::Ref
LightButton
->IO
() handle ::Ref
LightButton
->Event
->IO
(Either
UnknownEvent
()) handleSuper ::Ref
LightButton
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
LightButton
->IO
() hideSuper ::Ref
LightButton
->IO
() resize ::Ref
LightButton
->Rectangle
->IO
() resizeSuper ::Ref
LightButton
->Rectangle
->IO
() showWidget ::Ref
LightButton
->IO
() showWidgetSuper ::Ref
LightButton
->IO
()
Orphan instances
(~) * impl (IO ()) => Op (Draw ()) LightButton orig impl Source # | |
(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) LightButton orig impl Source # | |
(~) * impl (IO ()) => Op (DrawSuper ()) LightButton orig impl Source # | |
(~) * impl (Rectangle -> IO ()) => Op (Resize ()) LightButton orig impl Source # | |
(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) LightButton orig impl Source # | |
(~) * impl (IO ()) => Op (Hide ()) LightButton orig impl Source # | |
(~) * impl (IO ()) => Op (HideSuper ()) LightButton orig impl Source # | |
(~) * impl (IO ()) => Op (ShowWidget ()) LightButton orig impl Source # | |
(~) * impl (IO ()) => Op (ShowWidgetSuper ()) LightButton orig impl Source # | |
(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) LightButton orig impl Source # | |
(~) * impl (IO ()) => Op (Destroy ()) LightButton orig impl Source # | |