GNOME Python API documentation#

GNOME version: 47.4

Also known as: PyGObject API docs.

This site contains documentation for the latest release of the GNOME libraries: GTK 4, LibAdwaita, etc. The documentation is organized by library. Each library has its own page, which lists all the classes, functions, and other objects in that library.

The documentation is generated from the actual API, as exposed by PyGObject.

The API for the PyGObject library itself (gi) is documented in the PyGObject User Guide.

Note

The documentation is derived from the official C-based API’s. This means that the documentation can contain C-specific wording. Code examples are not translated to Python. In general that should not be a problem, since the mapping from C to Python is pretty straightforward.

If you find an inconsistency in the API docs, please create an issue.

See also

PyGObject Docs

Documentation about the PyGObject library, and usage.

GNOME Developer Documentation

Everything you need to know to build GNOME applications.