Documentation ¶
Index ¶
- func FindNextWidgetFrom(w gowid.ICompositeMultiple, pred gowid.WidgetPredicate) (int, bool)
- func FindParentInHierarchy(w gowid.IWidget, pred WidgetsPredicate) gowid.IWidget
- func FindWidgetIndex(w []gowid.IWidget, pred gowid.WidgetPredicate) (int, bool)
- type IMux
- type IWidget
- type Widget
- func (w *Widget) FocusedPane(id string) *pane.Widget
- func (w *Widget) HorizontalSplit(id string, p *pane.Widget, app gowid.IApp)
- func (w *Widget) KillPane(id string, p *pane.Widget, app gowid.IApp)
- func (w *Widget) NewPane(id string) *pane.Widget
- 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
- func (w *Widget) VerticalSplit(id string, p *pane.Widget, app gowid.IApp)
- type WidgetsPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindNextWidgetFrom ¶
func FindNextWidgetFrom(w gowid.ICompositeMultiple, pred gowid.WidgetPredicate) (int, bool)
func FindParentInHierarchy ¶
func FindParentInHierarchy(w gowid.IWidget, pred WidgetsPredicate) gowid.IWidget
func FindWidgetIndex ¶
Types ¶
type IWidget ¶
type IWidget interface { gowid.ICompositeWidget IMux }
type Widget ¶
func (*Widget) HorizontalSplit ¶
func (*Widget) SubWidgetSize ¶
func (w *Widget) SubWidgetSize(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderSize
type WidgetsPredicate ¶
func MatchWidget ¶
func MatchWidget(m gowid.IWidget) WidgetsPredicate
Click to show internal directories.
Click to hide internal directories.