ui

package
v0.0.0-...-253cea0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GUI

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

GUI wraps the components of the graphical user interface (hence the name), along with the bits and pieces needed to talk to the backend.

func Create

func Create(srv string) (*GUI, error)

Create creates a new GUI instance ready to be used. Call the Run() method to display the Window and execute the gtk event loop.

func (*GUI) Run

func (g *GUI) Run()

Run executes gtk's main event loop.

type RecurEditor

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

RecurEditor is a sorta-kinda custom widget for editing Recurrences of Reminders. I don't think I can create "real" custom widgets in Go, but I'll try to create something reusable.

func NewRecurEditor

func NewRecurEditor(r *objects.Recurrence, l *log.Logger) (*RecurEditor, error)

NewRecurEditor creates and returns a fresh Editor for Recurrences.

func (*RecurEditor) GetRecurrence

func (e *RecurEditor) GetRecurrence() objects.Recurrence

Jump to

Keyboard shortcuts

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