simple-ui-0.2.0: UI library for terminal.
Safe HaskellNone
LanguageHaskell2010

Simple.UI.Widgets.Container

Documentation

addTo :: (ContainerClass w, WidgetClass u, MonadIO m) => w a -> u -> LayoutData a -> m () Source #

class LayoutClass w Source #

Minimal complete definition

layoutDraw, layoutComputeSize

data EmptyLayout Source #

Constructors

EmptyLayout 

Instances

Instances details
LayoutClass EmptyLayout Source # 
Instance details

Defined in Simple.UI.Widgets.Container

Associated Types

type LayoutData EmptyLayout Source #

type LayoutData EmptyLayout Source # 
Instance details

Defined in Simple.UI.Widgets.Container

data EmptyLayoutData Source #

Constructors

EmptyLayoutData 

Instances

Instances details
Default EmptyLayoutData Source # 
Instance details

Defined in Simple.UI.Widgets.Container

layoutDraw :: (LayoutClass w, ContainerClass c) => c w -> Drawing -> Int -> Int -> UIApp u () Source #