components

package
v0.0.0-...-7b00875 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 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 ScrollBox

type ScrollBox struct {
	*tview.Box
	// contains filtered or unexported fields
}

func NewScrollBox

func NewScrollBox() *ScrollBox

func (*ScrollBox) AddItem

func (scrollBox *ScrollBox) AddItem(item tview.Primitive, fixedHeight int) *ScrollBox

func (*ScrollBox) ClearItems

func (scrollBox *ScrollBox) ClearItems() *ScrollBox

func (*ScrollBox) ClearOffsets

func (scrollBox *ScrollBox) ClearOffsets() *ScrollBox

func (*ScrollBox) Draw

func (scrollBox *ScrollBox) Draw(screen tcell.Screen)

func (*ScrollBox) InputHandler

func (scrollBox *ScrollBox) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

func (*ScrollBox) MouseHandler

func (scrollBox *ScrollBox) MouseHandler() func(action tview.MouseAction, event *tcell.EventMouse, setFocus func(p tview.Primitive)) (consumed bool, capture tview.Primitive)

func (*ScrollBox) ScrollDown

func (scrollBox *ScrollBox) ScrollDown()

func (*ScrollBox) ScrollLeft

func (scrollBox *ScrollBox) ScrollLeft()

func (*ScrollBox) ScrollRight

func (scrollBox *ScrollBox) ScrollRight()

func (*ScrollBox) ScrollUp

func (scrollBox *ScrollBox) ScrollUp()

Jump to

Keyboard shortcuts

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