範例
Prototype
Composite
整合範例
- fullscreen/composite/demo-appindicator-webkit (Fullscreen)
- fullscreen/composite/demo-appindicator-terminal (Fullscreen)
API
Gtk-3
- https://lazka.github.io/pgi-docs/index.html#Gtk-3.0
- https://lazka.github.io/pgi-docs/index.html#Gtk-3.0/classes.html
AppIndicator3
- https://lazka.github.io/pgi-docs/index.html#AppIndicator3-0.1/
- https://lazka.github.io/pgi-docs/index.html#AppIndicator3-0.1/classes.html
- https://lazka.github.io/pgi-docs/index.html#AppIndicator3-0.1/classes/Indicator.html
Gtk.Menu
- https://lazka.github.io/pgi-docs/index.html#Gtk-3.0/classes/Menu.html
- https://lazka.github.io/pgi-docs/index.html#Gtk-3.0/classes/MenuItem.html
Package
執行下面指令,安裝「libappindicator3-dev」
$ sudo apt-get install libappindicator3-dev
執行
$ dpkg -l '*appindicator*'
顯示
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii gir1.2-appindicator3-0.1 12.10.1+16.04.201702 amd64 Typelib files for libappindicator3-1.
ii libappindicator-doc 12.10.1+16.04.201702 all Application Indicators
ii libappindicator1 12.10.1+16.04.201702 amd64 Application Indicators
ii libappindicator3-1 12.10.1+16.04.201702 amd64 Application Indicators
ii libappindicator3-dev 12.10.1+16.04.201702 amd64 Application Indicators
ii python-appindicator 12.10.1+16.04.201702 amd64 Python bindings for libappindicator
un python2.7-appindicator <none> <none> (no description available)
執行
$ apt-cache showsrc libappindicator3-dev | grep '^Binary:'
顯示
Binary: python-appindicator, libappindicator1, gir1.2-appindicator-0.1, libappindicator-dev, libappindicator-doc, libappindicator3-1, libappindicator3-dev, gir1.2-appindicator3-0.1, libappindicator0.1-cil, libappindicator0.1-cil-dev
執行
$ apt-cache show libappindicator3-dev | grep '^Depends:'
顯示
Depends: gir1.2-appindicator3-0.1 (= 12.10.1+16.04.20170215-0ubuntu1), libdbusmenu-glib-dev (>= 0.1.8), libdbus-glib-1-dev (>= 0.76), libappindicator3-1 (= 12.10.1+16.04.20170215-0ubuntu1)
相關連結
- Ubuntu Wiki / ApplicationIndicators
- Launchpad / libappindicator