Documentation ¶
Overview ¶
Package cellmod provides a widget that can change the cell data of an inner widget.
Index ¶
- func Render(w IWidget, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.ICanvas
- type Func
- type ICellMod
- type IWidget
- type Widget
- func (w *Widget) Mod() ICellMod
- 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) SetMod(mod ICellMod)
- func (w *Widget) SetSubWidget(inner 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) Transform(c gowid.Cell, focus gowid.Selector) gowid.Cell
- func (w *Widget) UserInput(ev interface{}, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IWidget ¶
type IWidget interface { gowid.ICompositeWidget ICellMod }
type Widget ¶
type Widget struct { gowid.IWidget *gowid.Callbacks gowid.SubWidgetCallbacks // contains filtered or unexported fields }
Widget that adjusts the palette used - if the rendering context provides for a foreground color of red (when focused), this widget can provide a map from red -> green to change its display
func (*Widget) RenderSize ¶
func (w *Widget) RenderSize(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderBox
func (*Widget) SubWidgetSize ¶
func (w *Widget) SubWidgetSize(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderSize
Click to show internal directories.
Click to hide internal directories.