Python PyGObject (PyGI)
Subject
Document
Python GObject
- PyGObject (aka PyGI)
- The Python GTK+ 3 Tutorial
- Python GObject Introspection API Reference
- GitHub / Gnome / pygobject
- GNOME Developer Platform Demos / Tutorials, code samples and platform demos in Python
- GObject Introspection Reference Manual
- https://pygobject.readthedocs.io/
- GitHub / pygobject / pygobject-docs
套件
- python3-gi
- gobject-introspection
- gir1.2-glib-2.0
- gir1.2-freedesktop
- libgirepository-1.0-1
- libgirepository1.0-dev
- libgirepository1.0-doc
- libglib2.0-0
- libglib2.0-bin
- libglib2.0-dev
- libglib2.0-doc
- libffi6
- libffi-dev
套件探索
執行
$ apt-cache search gir | less
執行
$ apt-cache search gir1.2 | less
執行
$ apt-cache search gir | grep fcitx
顯示
gir1.2-fcitx-1.0 - Flexible Input Method Framework - GObject introspection
執行
$ dpkg -l gir1.2-fcitx-1.0
顯示
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-fcitx-1.0 1:4.2.9.1-1ubuntu1.1 amd64 Flexible Input Method Framework - GObject introspection
執行
$ dpkg -l | grep gir | grep fcitx
顯示
ii gir1.2-fcitx-1.0 1:4.2.9.1-1ubuntu1.16.04.2 amd64 Flexible Input Method Framework - GObject introspection
執行
$ dpkg -L gir1.2-fcitx-1.0 | sort
顯示
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/girepository-1.0
/usr/lib/x86_64-linux-gnu/girepository-1.0/Fcitx-1.0.typelib
/usr/share
/usr/share/doc
/usr/share/doc/gir1.2-fcitx-1.0
/usr/share/doc/gir1.2-fcitx-1.0/changelog.Debian.gz
/usr/share/doc/gir1.2-fcitx-1.0/copyright
/usr/share/gir-1.0
/usr/share/gir-1.0/Fcitx-1.0.gir
路徑
- /usr/lib/x86_64-linux-gnu/girepository-1.0
- /usr/share/gir-1.0
路徑探索
執行
$ ls /usr/share/gir-1.0/
執行
$ ls /usr/lib/x86_64-linux-gnu/girepository-1.0
執行
$ dpkg -S /usr/share/gir-1.0/
執行
$ dpkg -S /usr/lib/x86_64-linux-gnu/girepository-1.0