Exemplo n.º 1
0
func main() {
	client := &fireflyClient{
		uiCh:        make(chan *uiCmd),
		exitCh:      make(chan error, 1),
		chExitFuncs: make(chan func(), 10),
	}
	systray.Run(client._main)
}
Exemplo n.º 2
0
func main() {
	// Should be called at the very beginning of main().
	systray.Run(onReady)
}
Exemplo n.º 3
0
func runOnSystrayReady(f func()) {
	systray.Run(f)
}