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 + func RenderSize(w IWidget, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderBox + func SubWidgetSize(w gowid.ICompositeWidget, size gowid.IRenderSize, focus gowid.Selector, ...) gowid.IRenderSize + func UserInput(w IKeyPresser, ev interface{}, size gowid.IRenderSize, focus gowid.Selector, ...) bool + type ICustomKeys interface + CustomSelectKeys func() bool + SelectKeys func() []gowid.IKey + type IKeyPresser interface + type IWidget interface + type KeyPressFunction func(app gowid.IApp, widget gowid.IWidget, key gowid.IKey) + func (f KeyPressFunction) Changed(app gowid.IApp, widget gowid.IWidget, data ...interface{}) + type Options struct + Keys []gowid.IKey + type Widget struct + func New(inner gowid.IWidget, opts ...Options) *Widget + func (w *Widget) CustomSelectKeys() bool + func (w *Widget) KeyPress(key gowid.IKey, app gowid.IApp) + 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) SelectKeys() []gowid.IKey + func (w *Widget) SetSubWidget(wi gowid.IWidget, app gowid.IApp) + func (w *Widget) String() string + func (w *Widget) SubWidget() gowid.IWidget + func (w *Widget) SubWidgetSize(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderSize + func (w *Widget) UserInput(ev interface{}, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) bool + type WidgetCallback struct + Name interface{} + func MakeCallback(name interface{}, fn KeyPressFunction) WidgetCallback + func (f WidgetCallback) ID() interface{}