Awesome Go

AppIndicator Go

CategoryGUI
SubcategoryGUI
Stars0

Go bindings for libappindicator3 C library

About AppIndicator Go

GopherLibs >> AppIndicator Go Report Card GoDoc Mentioned in Awesome Go

Go (golang) bindings for libayatana-appindicator3 C library.

Libayatana-appindicator is a library to allow applications to export a menu into the Unity Menu bar. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available.

Also it works in:

This package aims to be interoperable with Go gtk3 bindings.

3 in the name means that it's GTK3 version.

Dependencies

On Debian-based distributions:

sudo apt install libayatana-appindicator3-dev libgtk-3-dev

And of course go with cgo is required.

Building

Refer to gotk3 wiki

...or simply run build.sh script that will try to detect currently installed version of GTK, pass along given go build flags and execute it.

For example to build one of examples:

./build.sh -v examples/simple/main.go

Examples

Examples are located in examples directory

Project History

AppIndicator Go is a fork of Dawid Dziurla's go-appindicator. That project was abanzoned and eventually archived. This project continues where that one left off, under the same MIT license (of course).

Frequently Asked Questions

What is AppIndicator Go?

AppIndicator Go is a GUI library for the Go programming language. Go bindings for libappindicator3 C library

How do I install AppIndicator Go?

Install AppIndicator Go with the Go module system using `go get gopherlibs/appindicator`. Check the repository for the current installation instructions.

What category does AppIndicator Go belong to?

AppIndicator Go is listed under GUI, specifically GUI.

← Back to GUI