fltkhs-0.8.0.2: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.MenuBar

Contents

Synopsis

Documentation

menuBarCustom Source #

Arguments

:: Rectangle

The bounds of this MenuBar

-> Maybe Text

The MenuBar label

-> Maybe (Ref MenuBar -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs MenuBar)

Optional custom widget functions

-> IO (Ref MenuBar) 

Hierarchy

Functions

destroy :: Ref MenuBarBase -> IO ()

draw :: Ref MenuBarBase -> IO ()

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

hide :: Ref MenuBarBase -> IO ()

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

showWidget :: Ref MenuBarBase -> IO ()

Orphan instances

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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