Foundry.Gir¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.Gir(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents a
GObject.ObjectIntrospection Repository (GIR) file.Foundry.Girprovides functionality for parsing and accessing GIR files which contain metadata aboutGObject.Object-based libraries. It enables introspection of library APIs and provides information about classes, functions, and other symbols for development tools and documentation generation.- classmethod new(file)¶
- Parameters:
file (
Gio.File) – a [iface`Gio`.File]- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.Gir] or rejects with error.
- Return type:
Parses file to create a new in-memory representation as a [class`Foundry`.Gir].
New in version 1.1.
- classmethod new_for_path(path)¶
- Parameters:
path (
str) – the path to the file- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.Gir] or rejects with error.
- Return type:
New in version 1.1.
- get_repository()¶
- Return type:
New in version 1.1.
- list_namespaces()¶
- Return type:
New in version 1.1.