A collection of primitive user interface widgets for composing and
laying out Graphics.Vty
user interfaces. This module provides
basic static and box layout widgets.
Documentation
(<++>) :: Widget -> Widget -> WidgetSource
An alias for hBox
intended as sugar to chain widgets
horizontally.
(<-->) :: Widget -> Widget -> WidgetSource
An alias for vBox
intended as sugar to chain widgets vertically.
hBox :: Widget -> Widget -> WidgetSource
Create a horizontal box layout widget containing two widgets side by side. Space consumed by the box will depend on its contents and the available space.
vBox :: Widget -> Widget -> WidgetSource
Create a vertical box layout widget containing two widgets. Space consumed by the box will depend on its contents and the available space.
hFill :: Attr -> Char -> Int -> WidgetSource
A horizontal fill widget. Fills the available horizontal space, one row high, using the specified character and attribute.