vty-ui-1.0.1: An interactive terminal user interface library for Vty

Graphics.Vty.Widgets.Borders

Contents

Description

This module provides visual borders to be placed between and around widgets. Border widgets in this module use the active Skin in the RenderContext.

Synopsis

Documentation

class HasBorderAttr a whereSource

The class of types with a border attribute, which differs from the |normal and focused attributes.

Methods

setBorderAttribute :: MonadIO m => a -> Attr -> m ()Source

Border Widget Constructors

vBorder :: MonadIO m => m (Widget VBorder)Source

Create a single-column vertical border using the specified attribute and character.

hBorder :: MonadIO m => m (Widget HBorder)Source

Create a single-row horizontal border using the specified attribute and character.

bordered :: (MonadIO m, Show a) => Widget a -> m (Widget (Bordered a))Source

Wrap a widget in a bordering box.

Setting Attributes and Labels