gui

package
v0.0.0-...-7e30b41 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileLabel               = "File"
	QuitLabel               = "Quit"
	GitHubPageLabel         = "GitHub page"
	ProjectPageURL          = "https://github.com/sharki13/timestamp-converter"
	HelpLabel               = "Help"
	SystemLabel             = "System"
	LightLabel              = "Light"
	DarkLabel               = "Dark"
	ThemeLabel              = "Theme"
	FormatLabel             = "Format"
	TimestampConverterLabel = "Timestamp Converter"
)
View Source
const (
	LightTheme  = "light"
	DarkTheme   = "dark"
	SystemTheme = "system"
)

Variables

View Source
var FormatLabelMap = map[string]string{
	time.RFC3339:  "RFC3339 (2006-01-02T15:04:05Z07:00)",
	time.RubyDate: "Ruby Date (Mon Jan 2 15:04:05 -0700 2006)",
	time.RFC822Z:  "RFC822Z (02 Jan 06 15:04 -0700)",
	time.RFC1123Z: "RFC1123Z (Mon, 02 Jan 2006 15:04:05 -0700)",
}

Functions

This section is empty.

Types

type TimestampConverter

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

func NewTimestampConverter

func NewTimestampConverter(app fyne.App) *TimestampConverter

func (*TimestampConverter) ShowAndRun

func (t *TimestampConverter) ShowAndRun()

Should be called near the end of the function becasue it will block until the window is closed

Jump to

Keyboard shortcuts

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