tray

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Quit

func Quit()

Types

type Tray

type Tray struct {
	Icon    []byte
	Title   string
	Tooltip string
	OnClick func()
	Items   []*TrayItem
}

type TrayItem

type TrayItem struct {
	Title    string
	Tooltip  string
	Checkbox bool
	Checked  bool
	Disable  bool
	OnClick  func()
	Items    []TrayItem
}

Directories

Path Synopsis
From github.com/getlantern/systray Package systray is a cross-platform Go library to place an icon and menu in the notification area.
From github.com/getlantern/systray Package systray is a cross-platform Go library to place an icon and menu in the notification area.

Jump to

Keyboard shortcuts

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