tray

package
v0.0.0-...-ec244d1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApplicationActivationPolicyAccessory int = 1
	ApplicationActivationPolicyRegular   int = 2
)
View Source
const (
	MenuItemCode = iota + 1
	MenuItemMenu
)

Variables

View Source
var Event = make(chan EventType, 2)

Functions

func BringWindowToFront

func BringWindowToFront()

func ChangeApplicationActivationPolicy

func ChangeApplicationActivationPolicy(i int)

func DismissTray

func DismissTray()

func ShowTray

func ShowTray()

Types

type EventType

type EventType int
const (
	EventShowSetting EventType = iota + 1
	EventShowWindow
	EventShowQuit
)
type MenuItem struct {
	*systray.MenuItem
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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