fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Tile

Synopsis

Constructor

tileCustom Source #

Arguments

:: Rectangle

The bounds of this Tile

-> Maybe Text

The Tile label

-> Maybe (Ref Tile -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Tile)

Optional custom widget functions

-> IO (Ref Tile) 

Hierarchy

Functions

draw :: Ref TileBase -> IO ()

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

hide :: Ref TileBase -> IO ()

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

setPosition :: Ref TileBase -> Rectangle -> IO ()

showWidget :: Ref TileBase -> IO ()

Orphan instances

impl ~ (Rectangle -> IO ()) => Op (SetPosition ()) TileBase orig impl Source # 
Instance details

Methods

runOp :: SetPosition () -> orig -> Ref TileBase -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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