snakia.core.tui.widgets.vertical_split

Classes

Canvas(width, height[, default_value])

A canvas is a 2D array of characters.

CanvasChar([char, fg_color, bg_color, bold, ...])

ContainerWidget(children)

VerticalSplitWidget(children[, splitter_char])

Widget()

class snakia.core.tui.widgets.vertical_split.VerticalSplitWidget(children, splitter_char='-')[source]

Bases: ContainerWidget

__init__(children, splitter_char='-')[source]
async_state(default_value)
Return type:

AsyncBindable[TypeVar(T)]

on_render()[source]
Return type:

Canvas

render()
Return type:

Canvas

state(default_value)
Return type:

Bindable[TypeVar(T)]