I'm looking for a gi.repository
module documentation and I can't find anything on the internet. All I found is documentation of new Gtk3 libraries for C, or old PyGtk 2.0 Reference Manual
I'm looking for something like PyGtk 2.0 Reference Manual but for Gtk3.
Is there something similar for Python? (I'm not looking for dir(Gtk)
or help(Gtk)
in the Python console.)
gi. repository is the Python module for PyGObject (which stands for Python GObject introspection) which holds Python bindings and support for the GTK+ 3 toolkit and for the GNOME apps. See Projects/PyGObject on the GNOME Wiki. It has nothing to do with GitHub.
GTK is a multi-platform toolkit for creating graphical user interfaces. It is created in C language. GTK has been designed from the ground up to support a range of languages, including Python, Ruby, and Perl.
Project description. PyGObject is a Python package which provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more. It supports Linux, Windows and macOS and works with Python 3.6+ and PyPy3.
Yes, I found a site that contains documentations for all python bindings of perhaps all GNOME projects that are supported by the python gi.repository module or the Python GObject Introspection module: http://lazka.github.io/pgi-docs/
The one specifically for GTK is:http://lazka.github.io/pgi-docs/Gtk-3.0/index.html
There is also documentation specific to the gi
package provided by PyGObject: https://pygobject.readthedocs.io/en/latest/guide/api/api.html
I hope you find these links helpful
I think you're looking for this.
It's a work in progress, but basically is a tutorial for Gtk3 in python. I doesn't really cover any other thing aside from Gtk widgets (so no Glib, for example), but it's still useful to get started.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With