fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.SysMenuBar

Synopsis

Documentation

sysMenuBarCustom 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

Functions

add:: (Parent a MenuItemBase) => Ref SysMenuBarBase -> Text -> Maybe Shortcut -> Maybe (Ref a-> IO ()) -> MenuItemFlags -> IO (AtIndex)

addName :: Ref SysMenuBarBase -> Text -> IO ()

clear :: Ref SysMenuBarBase -> IO ()

clearSubmenu :: Ref SysMenuBarBase -> AtIndex -> IO (Either OutOfRangeOrNotSubmenu ())

destroy :: Ref SysMenuBarBase -> IO ()

draw :: Ref SysMenuBarBase -> IO ()

getMode :: Ref SysMenuBarBase -> AtIndex -> IO (Maybe MenuItemFlags)

global :: Ref SysMenuBarBase -> IO ()

handle :: Ref SysMenuBarBase -> Event -> IO (Either UnknownEvent ())

hide :: Ref SysMenuBarBase -> IO ()

insert:: (Parent a MenuPrimBase) => Ref SysMenuBarBase -> AtIndex -> Text -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> IO (AtIndex)

remove :: Ref SysMenuBarBase -> Int -> IO ()

replace :: Ref SysMenuBarBase -> AtIndex -> Text -> IO ()

resize :: Ref SysMenuBarBase -> Rectangle -> IO ()

setMenu :: Ref SysMenuBarBase -> [Ref MenuItem] -> IO ()

setMode :: Ref SysMenuBarBase -> AtIndex -> MenuItemFlags -> IO ()

setShortcut :: Ref SysMenuBarBase -> AtIndex -> ShortcutKeySequence -> IO ()

showWidget :: Ref SysMenuBarBase -> IO ()

Orphan instances

impl ~ (AtIndex -> IO (Maybe MenuItemFlags)) => Op (GetMode ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: GetMode () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (AtIndex -> MenuItemFlags -> IO ()) => Op (SetMode ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: SetMode () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (Int -> IO ()) => Op (Remove ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Remove () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (AtIndex -> Text -> IO ()) => Op (Replace ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Replace () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (Text -> IO ()) => Op (AddName ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: AddName () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (AtIndex -> IO (Either OutOfRangeOrNotSubmenu ())) => Op (ClearSubmenu ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: ClearSubmenu () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ ([Ref MenuItem] -> IO ()) => Op (SetMenu ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: SetMenu () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ IO () => Op (Global ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Global () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ IO () => Op (Draw ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Draw () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (AtIndex -> ShortcutKeySequence -> IO ()) => Op (SetShortcut ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: SetShortcut () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ IO () => Op (Clear ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Clear () -> orig -> Ref SysMenuBarBase -> impl Source #

(Parent a MenuPrimBase, impl ~ (AtIndex -> Text -> Maybe Shortcut -> (Ref a -> IO ()) -> MenuItemFlags -> IO AtIndex)) => Op (Insert ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Insert () -> orig -> Ref SysMenuBarBase -> impl Source #

(Parent a MenuItemBase, impl ~ (Text -> Maybe Shortcut -> Maybe (Ref a -> IO ()) -> MenuItemFlags -> IO AtIndex)) => Op (Add ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Add () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (Rectangle -> IO ()) => Op (Resize ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Resize () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ IO () => Op (Hide ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Hide () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ IO () => Op (ShowWidget ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: ShowWidget () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Handle () -> orig -> Ref SysMenuBarBase -> impl Source #

impl ~ IO () => Op (Destroy ()) SysMenuBarBase orig impl Source # 
Instance details

Methods

runOp :: Destroy () -> orig -> Ref SysMenuBarBase -> impl Source #