Documentation ¶
Index ¶
- type GotoLineDialog
- func (d *GotoLineDialog) Draw(s tcell.Screen)
- func (d *GotoLineDialog) GetMinSize() (int, int)
- func (d *GotoLineDialog) GetPos() (int, int)
- func (d *GotoLineDialog) GetSize() (int, int)
- func (d *GotoLineDialog) HandleEvent(event tcell.Event) bool
- func (d *GotoLineDialog) SetFocused(v bool)
- func (d *GotoLineDialog) SetPos(x, y int)
- func (d *GotoLineDialog) SetSize(width, height int)
- func (d *GotoLineDialog) SetTheme(theme *ui.Theme)
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)
Click to show internal directories.
Click to hide internal directories.