Documentation
¶
Index ¶
- Constants
- type DisplayViewInterface
- type EditSortView
- type Input
- type InputDialogWidget
- type Label
- type LayoutManagerInterface
- type ListColumn
- type ListWidget
- func (asUI *ListWidget) GetSortFunctions() []util.LessFunc
- func (asUI *ListWidget) HighlightKey() string
- func (w *ListWidget) Layout(g *gocui.Gui) error
- func (w *ListWidget) Name() string
- func (asUI *ListWidget) RefreshDisplay(g *gocui.Gui) error
- func (asUI *ListWidget) SetSortColumns(sortColumns []*SortColumn)
- func (asUI *ListWidget) SortData()
- type Manager
- type MasterUIInterface
- type SortColumn
Constants ¶
View Source
const MAX_SORT_COLUMNS = 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisplayViewInterface ¶
type EditSortView ¶
type EditSortView struct {
// contains filtered or unexported fields
}
func NewEditSortView ¶
func NewEditSortView(masterUI MasterUIInterface, name string, listWidget *ListWidget) *EditSortView
func (*EditSortView) Name ¶ added in v0.5.5
func (w *EditSortView) Name() string
func (*EditSortView) RefreshDisplay ¶
func (w *EditSortView) RefreshDisplay(g *gocui.Gui) error
type Input ¶ added in v0.5.6
type Input struct {
// contains filtered or unexported fields
}
func NewInput ¶ added in v0.5.6
func NewInput( parentUI *InputDialogWidget, name string, offsetX, offsetY, width, maxLength int, inputValue string, applyCallbackFunc applyCallbackFunc, cancelCallbackFunc cancelCallbackFunc, ) *Input
type InputDialogWidget ¶ added in v0.5.9
type InputDialogWidget struct {
// contains filtered or unexported fields
}
func NewInputDialogWidget ¶ added in v0.5.9
func NewInputDialogWidget(masterUI MasterUIInterface, name string, width, height int, labelText string, maxLength int, titleText string, helpText string, valueText string, applyValueCallback applyCallbackFunc) *InputDialogWidget
func (*InputDialogWidget) CloseWidget ¶ added in v0.5.9
func (*InputDialogWidget) Init ¶ added in v0.5.9
func (w *InputDialogWidget) Init(g *gocui.Gui) error
func (*InputDialogWidget) Layout ¶ added in v0.5.9
func (w *InputDialogWidget) Layout(g *gocui.Gui) error
func (*InputDialogWidget) Name ¶ added in v0.5.9
func (w *InputDialogWidget) Name() string
type Label ¶ added in v0.5.6
type Label struct {
// contains filtered or unexported fields
}
type LayoutManagerInterface ¶
type ListColumn ¶
type ListColumn struct {
// contains filtered or unexported fields
}
func NewListColumn ¶
type ListWidget ¶
type ListWidget struct {
Title string
GetRowKey getRowKeyFunc
PreRowDisplayFunc getRowDisplayFunc
GetListSize getListSizeFunc
// contains filtered or unexported fields
}
func NewListWidget ¶
func NewListWidget(masterUI MasterUIInterface, name string, topMargin, bottomMargin int, displayView DisplayViewInterface, columns []*ListColumn) *ListWidget
func (*ListWidget) GetSortFunctions ¶
func (asUI *ListWidget) GetSortFunctions() []util.LessFunc
func (*ListWidget) HighlightKey ¶
func (asUI *ListWidget) HighlightKey() string
func (*ListWidget) Name ¶
func (w *ListWidget) Name() string
func (*ListWidget) RefreshDisplay ¶
func (asUI *ListWidget) RefreshDisplay(g *gocui.Gui) error
func (*ListWidget) SetSortColumns ¶
func (asUI *ListWidget) SetSortColumns(sortColumns []*SortColumn)
func (*ListWidget) SortData ¶
func (asUI *ListWidget) SortData()
type MasterUIInterface ¶
type SortColumn ¶
type SortColumn struct {
// contains filtered or unexported fields
}
func NewSortColumn ¶
func NewSortColumn(id string, reverseSort bool) *SortColumn
Click to show internal directories.
Click to hide internal directories.