vbox

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyInput    = "KeyInput"
	KeyTextArea = "KeyTextArea"
	KeyList     = "KeyList"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode int
const (
	ModeUpdate Mode = iota
	ModeCreate
	ModeDefault = ModeUpdate
)

type ValueBox

type ValueBox struct {
	*tview.Pages
	TextArea *tview.TextArea
	Input    *tview.InputField
	ListView *tview.List
	// contains filtered or unexported fields
}

func NewValueBox

func NewValueBox(ps *pubsub.PubSub) *ValueBox

func (*ValueBox) GetPrev

func (v *ValueBox) GetPrev() ssm.Parameter

func (*ValueBox) GetText added in v0.2.0

func (v *ValueBox) GetText() string

func (*ValueBox) InputCapture

func (v *ValueBox) InputCapture(event *tcell.EventKey) *tcell.EventKey

func (*ValueBox) SetMode

func (v *ValueBox) SetMode(m Mode)

func (*ValueBox) SetParam

func (v *ValueBox) SetParam(p ssm.Parameter)

func (*ValueBox) SetPrev

func (v *ValueBox) SetPrev(s ssm.Parameter)

func (*ValueBox) SetText added in v0.2.0

func (v *ValueBox) SetText(s string, b bool)

func (*ValueBox) WaitTopic

func (v *ValueBox) WaitTopic()

func (*ValueBox) WorkflowCreateParam added in v0.2.0

func (v *ValueBox) WorkflowCreateParam(dir string)

func (*ValueBox) WorkflowUpdateParam added in v0.2.0

func (v *ValueBox) WorkflowUpdateParam(param ssm.Parameter)

Jump to

Keyboard shortcuts

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