fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Pack

Synopsis

Documentation

packCustom Source #

Arguments

:: Rectangle

The bounds of this Pack

-> Maybe Text

The Pack label

-> Maybe (Ref Pack -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Pack)

Optional custom widget functions

-> IO (Ref Pack) 

Hierarchy

Functions

draw :: Ref PackBase -> IO ()

getSpacing :: Ref PackBase -> IO (Int)

getType_ :: Ref PackBase -> IO (PackType)

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

hide :: Ref PackBase -> IO ()

isHorizontal :: Ref PackBase -> IO Bool

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

setSpacing :: Ref PackBase -> Int -> IO ()

setType :: Ref PackBase -> PackType -> IO ()

showWidget :: Ref PackBase -> IO ()

Orphan instances

impl ~ IO Bool => Op (IsHorizontal ()) PackBase orig impl Source # 
Instance details

Methods

runOp :: IsHorizontal () -> orig -> Ref PackBase -> impl Source #

impl ~ IO Int => Op (GetSpacing ()) PackBase orig impl Source # 
Instance details

Methods

runOp :: GetSpacing () -> orig -> Ref PackBase -> impl Source #

impl ~ (Int -> IO ()) => Op (SetSpacing ()) PackBase orig impl Source # 
Instance details

Methods

runOp :: SetSpacing () -> orig -> Ref PackBase -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

impl ~ (PackType -> IO ()) => Op (SetType ()) PackBase orig impl Source # 
Instance details

Methods

runOp :: SetType () -> orig -> Ref PackBase -> impl Source #

impl ~ IO PackType => Op (GetType_ ()) PackBase orig impl Source # 
Instance details

Methods

runOp :: GetType_ () -> orig -> Ref PackBase -> impl Source #

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

Methods

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