trayhost

package
v0.0.0-...-10c04df Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package trayhost is a library for placing a Go application in the task bar (system tray, notification area, or dock) in a consistent manner across multiple platforms. Currently, there is built-in support for Windows, Mac OSX, and Linux systems that support GTK+ 3 status icons (including Gnome 2, KDE 4, Cinnamon, MATE and other desktop environments).

The indended usage is for applications that utilize web technology for the user interface, but require access to the client system beyond what is offered in a browser sandbox (for instance, an application that requires access to the user's file system).

The library places a tray icon on the host system's task bar that can be used to open a URL, giving users easy access to the web-based user interface.

Further information can be found at the project's home at http://github.com/cratonica/trayhost

Clint Caywood

http://github.com/cratonica/trayhost

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnterLoop

func EnterLoop(title string, imageData []byte)

EnterLoop Run the host system's event loop

func SetURL

func SetURL(url string)

SetURL Set the URL that the tray icon will open in a browser

Types

This section is empty.

Jump to

Keyboard shortcuts

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