Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gopherlibs/appindicator
:traffic_light: Go bindings for libappindicator3 C library
https://github.com/gopherlibs/appindicator
Last synced: 24 days ago
JSON representation
:traffic_light: Go bindings for libappindicator3 C library
- Host: GitHub
- URL: https://github.com/gopherlibs/appindicator
- Owner: gopherlibs
- License: mit
- Created: 2022-02-18T23:04:45.000Z (over 2 years ago)
- Default Branch: trunk
- Last Pushed: 2022-07-24T23:33:12.000Z (almost 2 years ago)
- Last Synced: 2024-01-30T04:49:06.745Z (4 months ago)
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-go - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go-cn - AppIndicator Go
- awesome-go-stars - AppIndicator Go(stars: 4) - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go-with-stars - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- repo-1316-awesome-go-cn - AppIndicator Go
- repo-1211-awesome-go-cn - AppIndicator Go
- Go-awesome - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go-cn - AppIndicator Go
- awesome-go - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
- awesome-go - AppIndicator Go - Go bindings for libappindicator3 C library. (GUI / Search and Analytic Databases)
README
# AppIndicator Go
[![Go Report Card](https://goreportcard.com/badge/github.com/gopherlibs/appindicator)](https://goreportcard.com/report/github.com/gopherlibs/appindicator)
[![GoDoc](https://godoc.org/github.com/gopherlibs/appindicator?status.svg)](https://godoc.org/github.com/gopherlibs/appindicator)
[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go)Go (golang) 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
## Project History
AppIndicator Go is a fork of Dawid Dziurla's [go-appindicator](https://github.com/dawidd6/go-appindicator).
That project was abanzoned and eventually archived.
This project continues where that one left off, under the same MIT license (of course).