Safe Haskell | None |
---|---|
Language | Haskell2010 |
- menuButtonNew :: Rectangle -> Maybe Text -> IO (Ref MenuButton)
- data MenuButtonType
- menuButtonCustom :: Rectangle -> Maybe Text -> Maybe (Ref MenuButton -> IO ()) -> Maybe (CustomWidgetFuncs MenuButton) -> IO (Ref MenuButton)
Constructor
menuButtonNew :: Rectangle -> Maybe Text -> IO (Ref MenuButton) Source #
data MenuButtonType Source #
:: Rectangle | The bounds of this MenuButton |
-> Maybe Text | The MenuButton label |
-> Maybe (Ref MenuButton -> IO ()) | Optional custom drawing function |
-> Maybe (CustomWidgetFuncs MenuButton) | Optional custom widget functions |
-> IO (Ref MenuButton) |
Hierarchy
Graphics.UI.FLTK.LowLevel.Widget | v Graphics.UI.FLTK.LowLevel.MenuPrim | v Graphics.UI.FLTK.LowLevel.MenuButton
Functions
destroy ::Ref
MenuButton
->IO
() draw ::Ref
MenuButton
->IO
() drawSuper ::Ref
MenuButton
->IO
() handle ::Ref
MenuButton
->Event
->IO
(Either
UnknownEvent
()) handleSuper ::Ref
MenuButton
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
MenuButton
->IO
() hideSuper ::Ref
MenuButton
->IO
() popup ::Ref
MenuButton
->IO
(Maybe
(Ref
MenuItem
)) resize ::Ref
MenuButton
->Rectangle
->IO
() resizeSuper ::Ref
MenuButton
->Rectangle
->IO
() showWidget ::Ref
MenuButton
->IO
() showWidgetSuper ::Ref
MenuButton
->IO
()
Orphan instances
(~) * impl (IO (Maybe (Ref MenuItem))) => Op (Popup ()) MenuButton orig impl Source # | |
(~) * impl (IO ()) => Op (Draw ()) MenuButton orig impl Source # | |
(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) MenuButton orig impl Source # | |
(~) * impl (IO ()) => Op (DrawSuper ()) MenuButton orig impl Source # | |
(~) * impl (Rectangle -> IO ()) => Op (Resize ()) MenuButton orig impl Source # | |
(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) MenuButton orig impl Source # | |
(~) * impl (IO ()) => Op (Hide ()) MenuButton orig impl Source # | |
(~) * impl (IO ()) => Op (HideSuper ()) MenuButton orig impl Source # | |
(~) * impl (IO ()) => Op (ShowWidget ()) MenuButton orig impl Source # | |
(~) * impl (IO ()) => Op (ShowWidgetSuper ()) MenuButton orig impl Source # | |
(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) MenuButton orig impl Source # | |
(~) * impl (IO ()) => Op (Destroy ()) MenuButton orig impl Source # | |