# README
tcell views
This package provides some enhanced functionality on top of base tcell. In particular, support for logical views, and a few different kinds of widgets like title bars, and scrollable areas, are provided.
These make up a higher level interface than tcell itself.
# Functions
NewBoxLayout creates an empty BoxLayout.
NewCellView creates a CellView.
NewPanel creates a new Panel.
NewSimpleStyledText creates an empty Text.
NewSimpleStyledTextBar creates an empty, initialized TextBar.
NewSpacer creates an empty Spacer.
NewText creates an empty Text.
NewTextArea creates a blank TextArea.
NewTextBar creates an empty, initialized TextBar.
NewViewPort returns a new ViewPort (and hence also a View).
# Constants
AlignBegin indicates alignment at the top left corner.
AlignEnd indicates alignment at the bottom right corner.
AlignMiddle indicates full centering.
HAlignCenter indicates horizontally centered.
HAlignLeft indicates alignment on the left edge.
HAlignRight indicates alignment on the right edge.
Horizontal indicates left to right orientation.
VAlignBottom indicates alignment on the bottom edge.
VAlignCenter indicates vertically centered.
VAlignTop indicates alignment on the top edge.
Vertical indicates top to bottom orientation.
# Structs
Application represents an event-driven application running on a screen.
BoxLayout is a container Widget that lays out its child widgets in either a horizontal row or a vertical column.
CellView is a flexible view of a CellModel, offering both cursor management and a panning.
EventWidgetContent is fired whenever a widget's content changes.
EventWidgetMove is fired whenever a widget changes location.
EventWidgetResize is fired whenever a widget is resized.
Panel is a modified Layout that includes a primary content pane, prefixed with an optional title, and an optional menubar, and then suffixed by an optional status.
SimpleStyledText is a form of Text that offers highlighting of the text using simple in-line markup.
SimpleStyledTextBar is a Widget that provides a single line of text, but with distinct left, center, and right areas.
Spacer is a Widget that occupies no visible real-estate.
Text is a Widget with containing a block of text, which can optionally be styled.
TextArea is a pannable 2 dimensional text widget.
TextBar is a Widget that provides a single line of text, but with distinct left, center, and right areas.
ViewPort is an implementation of a View, that provides a smaller logical view of larger content area.
WidgetWatchers provides a common implementation for base Widget Watch and Unwatch interfaces, suitable for embedding in more concrete widget implementations.
# Interfaces
CellModel models the content of a CellView.
EventWidget is an event delivered by a specific widget.
View represents a logical view on an area.
Widget is the base object that all onscreen elements implement.
# Type aliases
Alignment represents the alignment of an object, and consists of either or both of horizontal and vertical alignment.
Orientation represents the direction of a widget or layout.