Documentation ¶
Overview ¶
Package fill provides a widget that can be filled with a styled rune.
Index ¶
- func Render(w ISolidFill, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.ICanvas
- func RenderSize(w interface{}, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderBox
- type ISolidFill
- type IWidget
- type Widget
- func (w *Widget) Cell() gowid.Cell
- 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) SetCell(c gowid.Cell, app gowid.IApp)
- func (w *Widget) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
func Render(w ISolidFill, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.ICanvas
func RenderSize ¶
func RenderSize(w interface{}, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderBox
Types ¶
type ISolidFill ¶
type IWidget ¶
type IWidget interface { gowid.IWidget ISolidFill }
type Widget ¶
type Widget struct { gowid.RejectUserInput gowid.NotSelectable // contains filtered or unexported fields }
func NewSolidFromCell ¶
func (*Widget) RenderSize ¶
func (w *Widget) RenderSize(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderBox
Click to show internal directories.
Click to hide internal directories.