controls

package
v0.31.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActionsPanel added in v0.22.0

func NewActionsPanel(ctx context.Context, parent page.ControlI) page.ControlI

func NewEventsPanel added in v0.21.0

func NewEventsPanel(ctx context.Context, parent page.ControlI) page.ControlI

func NewIntroPanel added in v0.21.0

func NewIntroPanel(ctx context.Context, parent page.ControlI) page.ControlI

func NewWatcherPanel

func NewWatcherPanel(ctx context.Context, parent page.ControlI) page.ControlI

Types

type ActionsPanel added in v0.22.0

type ActionsPanel struct {
	Panel
}

func (*ActionsPanel) DoAction added in v0.23.0

func (p *ActionsPanel) DoAction(ctx context.Context, a action.Params)

func (*ActionsPanel) DrawTemplate added in v0.22.0

func (ctrl *ActionsPanel) DrawTemplate(ctx context.Context, _w io.Writer) (err error)

DrawTemplate draws the content of the matching control's template file.

func (*ActionsPanel) Init added in v0.22.0

func (p *ActionsPanel) Init(self any, ctx context.Context, parent page.ControlI, id string)

type EventsPanel added in v0.21.0

type EventsPanel struct {
	Panel
}

func (*EventsPanel) DrawTemplate added in v0.21.2

func (ctrl *EventsPanel) DrawTemplate(ctx context.Context, _w io.Writer) (err error)

DrawTemplate draws the content of the matching control's template file.

func (*EventsPanel) Init added in v0.21.0

func (p *EventsPanel) Init(self any, ctx context.Context, parent page.ControlI, id string)

type IntroPanel added in v0.21.0

type IntroPanel struct {
	Panel
}

func (*IntroPanel) DrawTemplate added in v0.21.0

func (ctrl *IntroPanel) DrawTemplate(ctx context.Context, _w io.Writer) (err error)

func (*IntroPanel) Init added in v0.21.0

func (p *IntroPanel) Init(self any, ctx context.Context, parent page.ControlI, id string)

type WatcherPanel

type WatcherPanel struct {
	Panel
}

func (*WatcherPanel) DrawTemplate added in v0.18.0

func (ctrl *WatcherPanel) DrawTemplate(ctx context.Context, _w io.Writer) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL