ui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package ui implements the user interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationWindow

type ApplicationWindow struct {
	// contains filtered or unexported fields
}

ApplicationWindow is the main window.

func NewApplicationWindow

func NewApplicationWindow(configUpdater func(config.Instance)) *ApplicationWindow

NewApplicationWindow returns a new instance.

func (*ApplicationWindow) Show

func (appWindow *ApplicationWindow) Show()

Show opens and runs the actual window.

func (*ApplicationWindow) Update

func (appWindow *ApplicationWindow) Update(now time.Time, configuration config.Instance)

Update sets the UI to the provided state.

Jump to

Keyboard shortcuts

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