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 IWidget interface + Complete func() gowid.ICellStyler + Normal func() gowid.ICellStyler + Progress func() int + Target func() int + Text func() string + type Options struct + Complete gowid.ICellStyler + Current int + Normal gowid.ICellStyler + Target int + type ProgressCB struct + type TargetCB struct + type Widget struct + Callbacks *gowid.Callbacks + Current int + Done int + func New(args Options) *Widget + func (w *Widget) Complete() gowid.ICellStyler + func (w *Widget) Normal() gowid.ICellStyler + func (w *Widget) OnSetProgress(f gowid.IWidgetChangedCallback) + func (w *Widget) OnSetTarget(f gowid.IWidgetChangedCallback) + func (w *Widget) Progress() int + func (w *Widget) RemoveOnSetProgress(f gowid.IIdentity) + func (w *Widget) RemoveOnSetTarget(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) SetProgress(app gowid.IApp, current int) + func (w *Widget) SetTarget(app gowid.IApp, target int) + func (w *Widget) String() string + func (w *Widget) Target() int + func (w *Widget) Text() string