| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.SysMenuBar
- 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 #
Arguments
| :: 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:: (ParentaMenuItem) =>RefSysMenuBar->Text->MaybeShortcut->Maybe(Refa->IO()) ->MenuItemFlags->IO(MenuItemIndex) addName ::RefSysMenuBar->Text->IO() clear ::RefSysMenuBar->IO() clearSubmenu ::RefSysMenuBar->Int->IO(Int) destroy ::RefSysMenuBar->IO() draw ::RefSysMenuBar->IO() drawSuper ::RefSysMenuBar->IO() getMode ::RefSysMenuBar->Int->IO(MaybeMenuItemFlags) global ::RefSysMenuBar->IO() handle ::RefSysMenuBar->Event->IO(EitherUnknownEvent()) handle ::RefSysMenuBar->Event->IO(EitherUnknownEvent()) handleSuper ::RefSysMenuBar->Event->IO(EitherUnknownEvent()) hide ::RefSysMenuBar->IO() hideSuper ::RefSysMenuBar->IO() insert:: (ParentaMenuPrim) =>RefSysMenuBar->Int->Text->MaybeShortcut-> (Refa ->IO()) ->MenuItemFlags->IO(MenuItemIndex) remove ::RefSysMenuBar->Int->IO() replace ::RefSysMenuBar->Int->Text->IO() resize ::RefSysMenuBar->Rectangle->IO() resizeSuper ::RefSysMenuBar->Rectangle->IO() setMenu ::RefSysMenuBar-> [RefMenuItem] ->IO() setMode ::RefSysMenuBar->Int->MenuItemFlags->IO() setShortcut ::RefSysMenuBar->Int->ShortcutKeySequence->IO() showWidget ::RefSysMenuBar->IO() showWidgetSuper ::RefSysMenuBar->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 # | |