Documentation ¶
Index ¶
- type Project
- type Settings
- type Widget
- func (w *Widget) Close()
- func (widget *Widget) CurrentProject() *Project
- func (w *Widget) Delete()
- func (widget *Widget) HelpText() string
- func (widget *Widget) Next()
- func (widget *Widget) NextSource()
- func (widget *Widget) Prev()
- func (widget *Widget) PrevSource()
- func (widget *Widget) ProjectAt(idx int) *Project
- func (widget *Widget) Refresh()
- func (widget *Widget) Unselect()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Widget ¶
type Widget struct { view.KeyboardWidget view.MultiSourceWidget view.ScrollableWidget // contains filtered or unexported fields }
A Widget represents a Todoist widget
func (*Widget) Close ¶
func (w *Widget) Close()
Close closes the currently-selected task in the currently-selected project
func (*Widget) CurrentProject ¶
func (*Widget) Delete ¶
func (w *Widget) Delete()
Delete deletes the currently-selected task in the currently-selected project
func (*Widget) NextSource ¶ added in v0.11.0
func (widget *Widget) NextSource()
func (*Widget) PrevSource ¶ added in v0.11.0
func (widget *Widget) PrevSource()
Click to show internal directories.
Click to hide internal directories.