todo_plus

package
v0.0.0-...-9c5270f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	*cfg.Common
	// contains filtered or unexported fields
}

func FromTodoist

func FromTodoist(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings

func FromTrello

func FromTrello(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings

func NewSettingsFromYAML

func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings

type Widget

type Widget struct {
	view.MultiSourceWidget
	view.ScrollableWidget
	// contains filtered or unexported fields
}

A Widget represents a Todoist 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) Close

func (w *Widget) Close()

Close closes the currently-selected task in the currently-selected project

func (*Widget) CurrentProject

func (widget *Widget) CurrentProject() *backend.Project

func (*Widget) Delete

func (w *Widget) Delete()

Delete deletes the currently-selected task in the currently-selected project

func (*Widget) Next

func (widget *Widget) Next()

func (*Widget) NextSource

func (widget *Widget) NextSource()

func (*Widget) Prev

func (widget *Widget) Prev()

func (*Widget) PrevSource

func (widget *Widget) PrevSource()

func (*Widget) ProjectAt

func (widget *Widget) ProjectAt(idx int) *backend.Project

func (*Widget) Refresh

func (widget *Widget) Refresh()

func (*Widget) Unselect

func (widget *Widget) Unselect()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL