vala-gen-introspect - generate a GI file for GObject and glib based packages
Contents
Bugs
https://gitlab.gnome.org/GNOME/vala/issues
Description
vala-gen-introspect is a utility which generates GI files from GObject and glib based packages. It can be
used in combination with vapigen(1) to generate an API for Vala, and allow its usage in Vala for
compiling to native code. PKGNAME is the pkg-config name of the library and PKGBASE specifies the base
directory for that package.
Usage:
gen-introspect [OPTION?]
HelpOptions:-h, --help
Show help options
ApplicationOptions:-v, --verbose
Be verbose
-o, --output=FILE
write output here instead of stdout
-n, --namespace=NAMESPACE
Namespace of the module, like 'Gtk'
--shared-library=FILE
Shared library which contains the symbols
--include-idl=IDL
Other gidls to include
Examples
After compilation, the following command generates a GI for pango: vala-gen-introspectpangopackages/pango
This can then be converted to a Vala API as follows:
vapigen--pkgcairo--vapidir.--librarypangopackages/pango/pango.giHomepage Or Contact
https://vala.dev
Name
vala-gen-introspect - generate a GI file for GObject and glib based packages
See Also
vapigen (1)
gen-introspect 0.56.18 March 2025 VALA-GEN-INTROSPECT(1)
Synopsis
vala-gen-introspectPKGNAMEPKGBASE
