Documentation
¶
Index ¶
- type PatternDuration
- type Settings
- type Widget
- func (widget *Widget) ConfigText() string
- func (widget *Widget) NextTodo()
- func (widget *Widget) PrevTodo()
- func (widget *Widget) Refresh()
- func (widget *Widget) RowColor(idx int, hidden int, checked bool) string
- func (widget *Widget) SelectedItem() *checklist.ChecklistItem
- func (widget *Widget) SetList(list checklist.Checklist)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PatternDuration ¶ added in v0.39.0
type PatternDuration struct {
// contains filtered or unexported fields
}
type Widget ¶
type Widget struct {
Error string
view.ScrollableWidget
// contains filtered or unexported fields
}
A Widget represents a Todo widget
func NewWidget ¶
func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.Pages, settings *Settings) *Widget
NewWidget creates a new instance of a widget
func (*Widget) ConfigText ¶ added in v0.50.0
func (*Widget) Refresh ¶
func (widget *Widget) Refresh()
Refresh updates the data for this widget and displays it onscreen
func (*Widget) SelectedItem ¶ added in v0.24.0
func (widget *Widget) SelectedItem() *checklist.ChecklistItem
SelectedItem returns the currently-selected checklist item or nil if no item is selected
Click to show internal directories.
Click to hide internal directories.