fltkhs-0.5.2.9: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.LightButton

Contents

Synopsis

Documentation

lightButtonCustom Source #

Arguments

:: Rectangle

The bounds of this LightButton

-> Maybe Text

The LightButton label

-> Maybe (Ref LightButton -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs LightButton)

Optional custom widget functions

-> IO (Ref LightButton) 

Hierarchy

Functions

destroy :: Ref LightButton -> IO ()

draw :: Ref LightButton -> IO ()

drawSuper :: Ref LightButton -> IO ()

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

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

hide :: Ref LightButton -> IO ()

hideSuper :: Ref LightButton -> IO ()

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

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

showWidget :: Ref LightButton -> IO ()

showWidgetSuper :: Ref LightButton -> IO ()

Orphan instances

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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