context

package module
v0.0.0-...-80c24bd Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 7 Imported by: 0

README

#Sciter Go tray context

Supports windows xp and above
Makes use of https://github.com/codingbeard/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 Menu struct {
	Items []MenuItem
	// contains filtered or unexported fields
}
func (m *Menu) DisplayContextMenu(x, y, w int) *window.Window
type MenuItem struct {
	Text          string
	ClickCallback func()
	ShouldShow    func() bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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