fltkhs-0.5.3.7: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.MenuButton

Contents

Synopsis

Constructor

menuButtonCustom Source #

Arguments

:: Rectangle

The bounds of this MenuButton

-> Maybe Text

The MenuButton label

-> Maybe (Ref MenuButton -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs MenuButton)

Optional custom widget functions

-> IO (Ref MenuButton) 

Hierarchy

Functions

destroy :: Ref MenuButton -> IO ()

draw :: Ref MenuButton -> IO ()

drawSuper :: Ref MenuButton -> IO ()

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

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

hide :: Ref MenuButton -> IO ()

hideSuper :: Ref MenuButton -> IO ()

popup :: Ref MenuButton -> IO (Maybe (Ref MenuItem))

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

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

showWidget :: Ref MenuButton -> IO ()

showWidgetSuper :: Ref MenuButton -> IO ()

Orphan instances

(~) * impl (IO (Maybe (Ref MenuItem))) => Op (Popup ()) MenuButton orig impl Source # 

Methods

runOp :: Popup () -> orig -> Ref MenuButton -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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