1VALA-GEN-INTROSPECT(1) User Commands VALA-GEN-INTROSPECT(1)
2
3
4
6 vala-gen-introspect - generate a GI file for GObject and glib based
7 packages
8
10 vala-gen-introspect PKGNAME PKGBASE
11
13 vala-gen-introspect is a utility which generates GI files from GObject
14 and glib based packages. It can be used in combination with vapigen(1)
15 to generate an API for Vala, and allow its usage in Vala for compiling
16 to native code. PKGNAME is the pkg-config name of the library and PKG‐
17 BASE specifies the base directory for that package.
18
19 Usage:
20 gen-introspect [OPTION?]
21
22 Help Options:
23 -h, --help
24 Show help options
25
26 Application Options:
27 -v, --verbose
28 Be verbose
29
30 -o, --output=FILE
31 write output here instead of stdout
32
33 -n, --namespace=NAMESPACE
34 Namespace of the module, like 'Gtk'
35
36 --shared-library=FILE
37 Shared library which contains the symbols
38
39 --include-idl=IDL
40 Other gidls to include
41
43 https://gitlab.gnome.org/GNOME/vala/issues
44
46 https://wiki.gnome.org/Projects/Vala
47
49 J??rg Billeter, Raffaele Sandrini.
50
52 After compilation, the following command generates a GI for pango:
53 vala-gen-introspect pango packages/pango
54
55 This can then be converted to a Vala API as follows:
56 vapigen --pkg cairo --vapidir . --library pango pack‐
57 ages/pango/pango.gi
58
60 vapigen (1)
61
62
63
64gen-introspect 0.56.1 April 2022 VALA-GEN-INTROSPECT(1)