Module GI.repository

Description

This module provides dynamic lookup of modules provided via GObject Introspection. Such modules are loaded via *.typelib description files typically located in the directory /usr/lib64/girepository-1.0/ (or similar).

Typical such modules include GI.repository.Gtk, GI.repository.Gdk and GI.repository.Pango.

Several GI-compatible APIs are documented at https://www.gtk.org/docs/apis/.

Note

The indexed modules may optionally be prefixed by an api version number. Eg GI.repository.3.0.Gtk (for Gtk 3.0) or GI.repository.4.0.Gtk (for Gtk 4.0). If no version is been specified, the latest version will be returned unless an older version has already been loaded.

See also

Cairo, GDK, GTK, Pango