elements

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Elements

type Elements struct {
	Flex      *tview.Flex
	Tree      *tview.TreeView
	Output    *tview.TextView
	Search    *tview.InputField
	InfoBox   *tview.TextView
	Legend    *tview.TextView
	HelpModal *tview.Modal
	History   *tview.List
	Timings   *tview.List
	// contains filtered or unexported fields
}

func NewElements

func NewElements() *Elements

func (*Elements) ResizeFlex

func (e *Elements) ResizeFlex(sidebarSize, mainContentSize int)

func (*Elements) Setup

func (e *Elements) Setup(
	t *tview.TreeNode,
	sidebarSize, mainContentSize int,
	htc func(node *tview.TreeNode),
	hsc func(query string),
	hsd func(key tcell.Key),
	hhd func(btnIdx int, btnLbl string),
)

Jump to

Keyboard shortcuts

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