Versions in this module Expand all Collapse all v1 v1.4.2 Sep 22, 2024 v1.4.1 Sep 22, 2024 Changes in this version + func Render(w IWidget, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.ICanvas + type ChangeStateCB struct + type IWidget interface + Enabled func() bool + Index func() int + SetEnabled func(bool, gowid.IApp) + SpinnerLen func() int + Styler func() gowid.ICellStyler + Text func() string + type Options struct + Label string + Styler gowid.ICellStyler + type Widget struct + Callbacks *gowid.Callbacks + func New(args Options) *Widget + func (w *Widget) Enabled() bool + func (w *Widget) Index() int + func (w *Widget) OnChangeState(f gowid.IWidgetChangedCallback) + func (w *Widget) RemoveOnChangeState(f gowid.IIdentity) + func (w *Widget) Render(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.ICanvas + func (w *Widget) RenderSize(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderBox + func (w *Widget) SetEnabled(enabled bool, app gowid.IApp) + func (w *Widget) SpinnerLen() int + func (w *Widget) String() string + func (w *Widget) Styler() gowid.ICellStyler + func (w *Widget) Text() string + func (w *Widget) Update()