Documentation ¶
Index ¶
- type Settings
- type Widget
- func (w *Widget) Close()
- func (widget *Widget) CurrentProject() *backend.Project
- func (w *Widget) Delete()
- func (widget *Widget) Next()
- func (widget *Widget) NextSource()
- func (widget *Widget) Prev()
- func (widget *Widget) PrevSource()
- func (widget *Widget) ProjectAt(idx int) *backend.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.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 ¶
func (widget *Widget) NextSource()
func (*Widget) PrevSource ¶
func (widget *Widget) PrevSource()
Click to show internal directories.
Click to hide internal directories.