pomodoro

package
v0.0.0-...-58fb5c9 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WindowWidth  float32
	WindowHeight float32
	WindowTitle  string
	TimerLength  int
	StartText    string
	StopText     string
	StopSound    string
}

type Pomodoro

type Pomodoro struct {
	Label   *widget.Label
	Button  *widget.Button
	Second  int
	Ticker  *time.Ticker
	Timer   *time.Timer
	Stopper chan struct{}
	Config  Config
}

func NewPomodoro

func NewPomodoro(cfg Config) *Pomodoro

func (*Pomodoro) CreateWindow

func (p *Pomodoro) CreateWindow() fyne.Window

Jump to

Keyboard shortcuts

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