fltkhs-0.5.4.5: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.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 MenuBar -> IO ()

draw :: Ref MenuBar -> IO ()

drawSuper :: Ref MenuBar -> IO ()

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

handleSuper :: Ref MenuBar -> Event -> IO (Either UnknownEvent ())

hide :: Ref MenuBar -> IO ()

hideSuper :: Ref MenuBar -> IO ()

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

resizeSuper :: Ref MenuBar -> Rectangle -> IO ()

showWidget :: Ref MenuBar -> IO ()

showWidgetSuper :: Ref MenuBar -> IO ()

Orphan instances

(~) * impl (IO ()) => Op (Draw ()) MenuBar orig impl Source # 

Methods

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

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) MenuBar orig impl Source # 

Methods

runOp :: HandleSuper () -> orig -> Ref MenuBar -> impl Source #

(~) * impl (IO ()) => Op (DrawSuper ()) MenuBar orig impl Source # 

Methods

runOp :: DrawSuper () -> orig -> Ref MenuBar -> impl Source #

(~) * impl (Rectangle -> IO ()) => Op (Resize ()) MenuBar orig impl Source # 

Methods

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

(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) MenuBar orig impl Source # 

Methods

runOp :: ResizeSuper () -> orig -> Ref MenuBar -> impl Source #

(~) * impl (IO ()) => Op (Hide ()) MenuBar orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (HideSuper ()) MenuBar orig impl Source # 

Methods

runOp :: HideSuper () -> orig -> Ref MenuBar -> impl Source #

(~) * impl (IO ()) => Op (ShowWidget ()) MenuBar orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (ShowWidgetSuper ()) MenuBar orig impl Source # 

Methods

runOp :: ShowWidgetSuper () -> orig -> Ref MenuBar -> impl Source #

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) MenuBar orig impl Source # 

Methods

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

(~) * impl (IO ()) => Op (Destroy ()) MenuBar orig impl Source # 

Methods

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