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 + var AllChildrenMaxDimension = fmt.Errorf("All columns widgets were rendered Max, so there is no max height to use.") + func Render(w IWidget, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.ICanvas + func RenderSize(w gowid.ICompositeMultipleWidget, size gowid.IRenderSize, focus gowid.Selector, ...) gowid.IRenderBox + func RenderSubWidgets(w IWidget, size gowid.IRenderSize, focus gowid.Selector, focusIdx int, ...) []gowid.ICanvas + func RenderedSubWidgetsSizes(w IWidget, size gowid.IRenderSize, focus gowid.Selector, focusIdx int, ...) []gowid.IRenderBox + func Scroll(w IFocusSelectable, dir gowid.Direction, wrap bool, app gowid.IApp) bool + func SubWidgetSize(size gowid.IRenderSize, newX int, dim gowid.IWidgetDimension) gowid.IRenderSize + func UserInput(w IWidget, ev interface{}, size gowid.IRenderSize, focus gowid.Selector, ...) bool + func WidgetWidths(w ICompositeMultipleDimensionsExt, size gowid.IRenderSize, ...) []int + type ICompositeMultipleDimensionsExt interface + type IFocusSelectable interface + type IWidget interface + KeyIsLeft func(*tcell.EventKey) bool + KeyIsRight func(*tcell.EventKey) bool + WidgetWidths func(size gowid.IRenderSize, focus gowid.Selector, focusIdx int, app gowid.IApp) []int + Wrap func() bool + type IWidthHelper interface + WidthHelpers func() ([]bool, []bool) + type Options struct + DoNotSetSelected bool + LeftKeys []vim.KeyPress + RightKeys []vim.KeyPress + StartColumn int + Wrap bool + type Widget struct + func New(widgets []gowid.IContainerWidget, opts ...Options) *Widget + func NewFixed(ws ...interface{}) *Widget + func NewFlow(ws ...interface{}) *Widget + func NewWithDim(method gowid.IWidgetDimension, ws ...interface{}) *Widget + func (w *Widget) Dimensions() []gowid.IWidgetDimension + func (w *Widget) FindNextSelectable(dir gowid.Direction, wrap bool) (int, bool) + func (w *Widget) Focus() int + func (w *Widget) GetPreferedPosition() gwutil.IntOption + func (w *Widget) KeyIsLeft(evk *tcell.EventKey) bool + func (w *Widget) KeyIsRight(evk *tcell.EventKey) bool + 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) RenderSubWidgets(size gowid.IRenderSize, focus gowid.Selector, focusIdx int, app gowid.IApp) []gowid.ICanvas + func (w *Widget) RenderedSubWidgetsSizes(size gowid.IRenderSize, focus gowid.Selector, focusIdx int, app gowid.IApp) []gowid.IRenderBox + func (w *Widget) SelectChild(f gowid.Selector) bool + func (w *Widget) Selectable() bool + func (w *Widget) SetDimensions(dimensions []gowid.IWidgetDimension, app gowid.IApp) + func (w *Widget) SetFocus(app gowid.IApp, i int) + func (w *Widget) SetPreferedPosition(cols int, app gowid.IApp) + func (w *Widget) SetSubWidgets(widgets []gowid.IWidget, app gowid.IApp) + func (w *Widget) String() string + func (w *Widget) SubWidgetSize(size gowid.IRenderSize, newX int, sub gowid.IWidget, ...) gowid.IRenderSize + func (w *Widget) SubWidgets() []gowid.IWidget + func (w *Widget) UserInput(ev interface{}, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) bool + func (w *Widget) WidgetWidths(size gowid.IRenderSize, focus gowid.Selector, focusIdx int, app gowid.IApp) []int + func (w *Widget) WidthHelpers() ([]bool, []bool) + func (w *Widget) Wrap() bool