Documentation ¶
Index ¶
- type ChangeFunc
- type ContentView
- func (widget *ContentView) AppendString(s string)
- func (widget *ContentView) Editable() *ContentView
- func (widget *ContentView) Layout(ui *gocui.Gui) (err error)
- func (widget *ContentView) Offset(x, y int) *ContentView
- func (widget *ContentView) SetContent(s string) *ContentView
- func (widget *ContentView) Title(s string) *ContentView
- func (widget *ContentView) Write(p []byte) (n int, err error)
- type FormatFunc
- type ListView
- func (widget *ListView) Layout(ui *gocui.Gui) (err error)
- func (widget *ListView) MoveNext() (v interface{})
- func (widget *ListView) MovePrev() (v interface{})
- func (widget *ListView) Offset(x, y int) *ListView
- func (widget *ListView) Push(v interface{})
- func (widget *ListView) Reset()
- func (widget *ListView) Title(s string) *ListView
- func (widget *ListView) WithChange(f ChangeFunc) *ListView
- func (widget *ListView) WithFormat(f FormatFunc) *ListView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeFunc ¶
type ChangeFunc func(i int, v interface{})
type ContentView ¶
type ContentView struct {
// contains filtered or unexported fields
}
func NewContentView ¶
func NewContentView(name string, width int, height int) *ContentView
func (*ContentView) AppendString ¶
func (widget *ContentView) AppendString(s string)
func (*ContentView) Editable ¶
func (widget *ContentView) Editable() *ContentView
func (*ContentView) Offset ¶
func (widget *ContentView) Offset(x, y int) *ContentView
func (*ContentView) SetContent ¶
func (widget *ContentView) SetContent(s string) *ContentView
func (*ContentView) Title ¶
func (widget *ContentView) Title(s string) *ContentView
type FormatFunc ¶
type ListView ¶
type ListView struct {
// contains filtered or unexported fields
}
func (*ListView) WithChange ¶
func (widget *ListView) WithChange(f ChangeFunc) *ListView
func (*ListView) WithFormat ¶
func (widget *ListView) WithFormat(f FormatFunc) *ListView
Click to show internal directories.
Click to hide internal directories.