Safe Haskell | None |
---|---|
Language | Haskell2010 |
- sysMenuBarNew :: Rectangle -> Maybe Text -> IO (Ref SysMenuBar)
- sysMenuBarCustom :: Rectangle -> Maybe Text -> Maybe (Ref SysMenuBar -> IO ()) -> Maybe (CustomWidgetFuncs SysMenuBar) -> IO (Ref SysMenuBar)
Documentation
sysMenuBarNew :: Rectangle -> Maybe Text -> IO (Ref SysMenuBar) Source #
:: Rectangle | The bounds of this SysMenuBar |
-> Maybe Text | The SysMenuBar label |
-> Maybe (Ref SysMenuBar -> IO ()) | Optional custom drawing function |
-> Maybe (CustomWidgetFuncs SysMenuBar) | Optional custom widget functions |
-> IO (Ref SysMenuBar) |
Hierarchy
Graphics.UI.FLTK.LowLevel.Widget | v Graphics.UI.FLTK.LowLevel.MenuPrim | v Graphics.UI.FLTK.LowLevel.MenuBar | v Graphics.UI.FLTK.LowLevel.SysMenuBar
Functions
add:: (Parent
aMenuItem
) =>Ref
SysMenuBar
->Text
->Maybe
Shortcut
->Maybe
(Ref
a->IO
()) ->MenuItemFlags
->IO
(MenuItemIndex
) addName ::Ref
SysMenuBar
->Text
->IO
() clear ::Ref
SysMenuBar
->IO
() clearSubmenu ::Ref
SysMenuBar
->Int
->IO
(Int
) destroy ::Ref
SysMenuBar
->IO
() draw ::Ref
SysMenuBar
->IO
() drawSuper ::Ref
SysMenuBar
->IO
() getMode ::Ref
SysMenuBar
->Int
->IO
(Maybe
MenuItemFlags
) global ::Ref
SysMenuBar
->IO
() handle ::Ref
SysMenuBar
->Event
->IO
(Either
UnknownEvent
()) handle ::Ref
SysMenuBar
->Event
->IO
(Either
UnknownEvent
()) handleSuper ::Ref
SysMenuBar
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
SysMenuBar
->IO
() hideSuper ::Ref
SysMenuBar
->IO
() insert:: (Parent
aMenuPrim
) =>Ref
SysMenuBar
->Int
->Text
->Maybe
Shortcut
-> (Ref
a ->IO
()) ->MenuItemFlags
->IO
(MenuItemIndex
) remove ::Ref
SysMenuBar
->Int
->IO
() replace ::Ref
SysMenuBar
->Int
->Text
->IO
() resize ::Ref
SysMenuBar
->Rectangle
->IO
() resizeSuper ::Ref
SysMenuBar
->Rectangle
->IO
() setMenu ::Ref
SysMenuBar
-> [Ref
MenuItem
] ->IO
() setMode ::Ref
SysMenuBar
->Int
->MenuItemFlags
->IO
() setShortcut ::Ref
SysMenuBar
->Int
->ShortcutKeySequence
->IO
() showWidget ::Ref
SysMenuBar
->IO
() showWidgetSuper ::Ref
SysMenuBar
->IO
()
Orphan instances
(~) * impl (Int -> IO (Maybe MenuItemFlags)) => Op (GetMode ()) SysMenuBar orig impl Source # | |
(~) * impl (Int -> MenuItemFlags -> IO ()) => Op (SetMode ()) SysMenuBar orig impl Source # | |
(~) * impl (Int -> IO ()) => Op (Remove ()) SysMenuBar orig impl Source # | |
(~) * impl (Int -> Text -> IO ()) => Op (Replace ()) SysMenuBar orig impl Source # | |
(~) * impl (Text -> IO ()) => Op (AddName ()) SysMenuBar orig impl Source # | |
(~) * impl (Int -> IO Int) => Op (ClearSubmenu ()) SysMenuBar orig impl Source # | |
(~) * impl ([Ref MenuItem] -> IO ()) => Op (SetMenu ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (Global ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (Draw ()) SysMenuBar orig impl Source # | |
(~) * impl (Int -> ShortcutKeySequence -> IO ()) => Op (SetShortcut ()) SysMenuBar orig impl Source # | |
(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (DrawSuper ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (Clear ()) SysMenuBar orig impl Source # | |
(Parent a MenuPrim, (~) * impl (Int -> Text -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> IO MenuItemIndex)) => Op (Insert ()) SysMenuBar orig impl Source # | |
(Parent a MenuItem, (~) * impl (Text -> Maybe Shortcut -> Maybe (Ref a -> IO ()) -> MenuItemFlags -> IO MenuItemIndex)) => Op (Add ()) SysMenuBar orig impl Source # | |
(~) * impl (Rectangle -> IO ()) => Op (Resize ()) SysMenuBar orig impl Source # | |
(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (Hide ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (HideSuper ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (ShowWidget ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (ShowWidgetSuper ()) SysMenuBar orig impl Source # | |
(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) SysMenuBar orig impl Source # | |
(~) * impl (IO ()) => Op (Destroy ()) SysMenuBar orig impl Source # | |