tray

package module
v0.0.0-...-40c385a Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 2 Imported by: 1

README

#Tray

Supports windows xp and above
Makes use of https://github.com/zserge/tray
Use something like https://github.com/cratonica/2goarray to turn your .ico file into a byte array
Can't have icons >= 128px
Don't add 16-bit colour icons, they will be used above 32-bit ones

cd example && go build && example.exe

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickableIcon

type ClickableIcon struct {
	IconData     []byte
	ClickHandler func(x, y int, rightClick bool)
}

func (*ClickableIcon) Initialise

func (t *ClickableIcon) Initialise()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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