ui

package
v0.0.0-...-25dfc2e Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GotoLineDialog

type GotoLineDialog struct {
	LineChosenCallback func(int)
	// contains filtered or unexported fields
}

func NewGotoLineDialog

func NewGotoLineDialog(s *tcell.Screen, theme *ui.Theme, lineChosenCallback func(int), cancelCallback func()) *GotoLineDialog

func (*GotoLineDialog) Draw

func (d *GotoLineDialog) Draw(s tcell.Screen)

func (*GotoLineDialog) GetMinSize

func (d *GotoLineDialog) GetMinSize() (int, int)

func (*GotoLineDialog) GetPos

func (d *GotoLineDialog) GetPos() (int, int)

func (*GotoLineDialog) GetSize

func (d *GotoLineDialog) GetSize() (int, int)

func (*GotoLineDialog) HandleEvent

func (d *GotoLineDialog) HandleEvent(event tcell.Event) bool

func (*GotoLineDialog) SetFocused

func (d *GotoLineDialog) SetFocused(v bool)

func (*GotoLineDialog) SetPos

func (d *GotoLineDialog) SetPos(x, y int)

func (*GotoLineDialog) SetSize

func (d *GotoLineDialog) SetSize(width, height int)

func (*GotoLineDialog) SetTheme

func (d *GotoLineDialog) SetTheme(theme *ui.Theme)

Jump to

Keyboard shortcuts

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