This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

PyGObject Module Restructure Proposal

Abstract

The PyGObject bindings expose static constants through the gi._gobject submodule. These constants are used within some of the gi and gi._object sub-modules. The idea behind this proposal is to minimize usage of these constants and instead make them accessible and used through introspection bindings where possible.

Analysis

The gi module wrapper (gi.module.IntrospectionModule) makes use of the following static objects from the gi._gobject sub-module:

The gi constants module (gi._gobject.constants) creates a number of constants by using the static type_from_name function which is where all the TYPE_* constants come from.

The property helper (gi._gobject.propertyhelper) has dependencies on the following static objects:

The signal helper (gi._gobject.signalhelper) has dependencies on the following static objects:

Current Package Dependencies

pygobject-diagram-current.png

(To Be Continued...)


2024-10-23 11:45