Versions in this module Expand all Collapse all v0 v0.1.0 Aug 1, 2026 Changes in this version + func Bounds(w *Widget) (map[string]any, error) + func Call(recv any, method string, args ...any) (any, error) + func DecodeCells(ansi string, cols, rows int) map[string]any + func Dispatch(root *Widget, ev map[string]any) (map[string]any, error) + func Methods(recv any) []string + func Render(root *Widget, cols, rows int) (string, error) + func RenderCells(root *Widget, cols, rows int) (map[string]any, error) + func SetSize(root *Widget, cols, rows int) error + type Module struct + func NewModule() *Module + func (m *Module) Bounds(w *Widget) (map[string]any, error) + func (m *Module) Button(label string) *Widget + func (m *Module) CheckButton(label string, checked bool) *Widget + func (m *Module) Container() *Widget + func (m *Module) DecodeCells(ansi string, cols, rows int) map[string]any + func (m *Module) Dispatch(root *Widget, ev map[string]any) (map[string]any, error) + func (m *Module) Entry(initial string) *Widget + func (m *Module) HSplit() *Widget + func (m *Module) Label(text string) *Widget + func (m *Module) ListBox(items []any) *Widget + func (m *Module) Notebook() *Widget + func (m *Module) ProgressBar() *Widget + func (m *Module) Render(root *Widget, cols, rows int) (string, error) + func (m *Module) RenderCells(root *Widget, cols, rows int) (map[string]any, error) + func (m *Module) SetSize(root *Widget, cols, rows int) error + func (m *Module) VSplit() *Widget + type Widget struct + func Button(label string) *Widget + func CheckButton(label string, checked bool) *Widget + func Container() *Widget + func Entry(initial string) *Widget + func HSplit() *Widget + func Label(text string) *Widget + func ListBox(items []any) *Widget + func Notebook() *Widget + func ProgressBar() *Widget + func VSplit() *Widget + func (w *Widget) Active() (int, error) + func (w *Widget) AddOverlay(child *Widget) error + func (w *Widget) AddTab(label string, page *Widget) error + func (w *Widget) Checked() (bool, error) + func (w *Widget) Fraction() (float64, error) + func (w *Widget) Items() ([]any, error) + func (w *Widget) Kind() string + func (w *Widget) OnChange(id string) error + func (w *Widget) OnClick(id string) error + func (w *Widget) OnSelect(id string) error + func (w *Widget) OnTabChanged(id string) error + func (w *Widget) OnToggle(id string) error + func (w *Widget) Selected() (int, error) + func (w *Widget) SetActive(i int) error + func (w *Widget) SetAlign(align string) error + func (w *Widget) SetBody(child *Widget) error + func (w *Widget) SetBottom(child *Widget) error + func (w *Widget) SetChecked(v bool) error + func (w *Widget) SetFooter(child *Widget) error + func (w *Widget) SetFooterHeight(n int) error + func (w *Widget) SetFraction(f float64) error + func (w *Widget) SetHeader(child *Widget) error + func (w *Widget) SetHeaderHeight(n int) error + func (w *Widget) SetItems(items []any) error + func (w *Widget) SetLabel(s string) error + func (w *Widget) SetLeft(child *Widget) error + func (w *Widget) SetLeftFraction(n int) error + func (w *Widget) SetPlaceholder(s string) error + func (w *Widget) SetRight(child *Widget) error + func (w *Widget) SetSelected(i int) error + func (w *Widget) SetText(s string) error + func (w *Widget) SetTop(child *Widget) error + func (w *Widget) SetTopFraction(n int) error + func (w *Widget) Text() (string, error) + func (w *Widget) Underlying() toolkit.Widget