Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dawidd6/go-appindicator
:traffic_light: Go bindings for libappindicator3 C library
https://github.com/dawidd6/go-appindicator
appindicator applet go golang indicator library tray
Last synced: 3 months ago
JSON representation
:traffic_light: Go bindings for libappindicator3 C library
- Host: GitHub
- URL: https://github.com/dawidd6/go-appindicator
- Owner: dawidd6
- License: mit
- Archived: true
- Created: 2019-05-04T13:38:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T04:38:06.000Z (over 3 years ago)
- Last Synced: 2024-01-17T09:44:40.856Z (5 months ago)
- Topics: appindicator, applet, go, golang, indicator, library, tray
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 19
- Watchers: 7
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-go-cn - go-appindicator
- awesome-go - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Advanced Console UIs)
- awesome-go-projects - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Standard CLI)
- awesome-go - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Advanced Console UIs)
- awesome-Char - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Advanced Console UIs)
- awesome-reader - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Advanced Console UIs)
- awesome-go - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Advanced Console UIs)
- awesome-go-zh - go-appindicator - appindicator) [![归档项目][Archived]](https://github.com/dawidd6/go-appindicator) (GUI / 检索及分析资料库)
- awesome-go - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Advanced Console UIs)
- awesome-go - go-appindicator - Go bindings for libappindicator3 C library. (GUI / Advanced Console UIs)
- awesome-go-cn - go-appindicator
- go-awesome-cn-star - go-appindicator
README
# go-appindicator
[![Go Report Card](https://goreportcard.com/badge/github.com/dawidd6/go-appindicator)](https://goreportcard.com/report/github.com/dawidd6/go-appindicator)
[![GoDoc](https://godoc.org/github.com/dawidd6/go-appindicator?status.svg)](https://godoc.org/github.com/dawidd6/go-appindicator)
[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go)Go bindings for [libappindicator3](https://launchpad.net/libappindicator) C library.
Libappindicator 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:
- Unity
- GNOME Shell with [this extension](https://github.com/ubuntu/gnome-shell-extension-appindicator)
- Budgie Desktop with [this applet](https://github.com/UbuntuBudgie/budgie-indicator-applet)
- MATE with [this applet](https://github.com/mate-desktop/mate-indicator-applet)
- Xfce with [this plugin](https://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin)This package aims to be interoperable with [Go gtk3 bindings](https://github.com/gotk3/gotk3).
`3` in the name means that it's GTK3 version.
## Dependencies
On Debian-based distributions:```bash
apt install libappindicator3-dev libgtk-3-dev
```And of course `go` with `cgo` is required.
## Building
Refer to [gotk3 wiki](https://github.com/gotk3/gotk3/wiki)
...or simply run [`build.sh`](./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:
```bash
./build.sh -v examples/simple/main.go
```## Examples
Examples are located in [examples](./examples) directory