# hare-gi GObject Introspection code generator for Hare. In short, it creates bindings for GTK family of libraries (GTK+, GDK, Pango, etc). ## Generating and installing bindings Dependencies: * An up-to-date [Hare] toolchain * Development files for GObject-Introspection, the desired GTK version and its dependencies. Make sure `/usr/share/gir-1.0` is included. To generate and install both GTK 3 and GTK 4 bindings: ``` $ make # make install [PREFIX=/usr/local] [DESTDIR=] ``` ## Running examples ### GTK 3 ``` make demo-gtk3 ./demo-gtk3 ``` ### GTK 4 ``` make demo-gtk4 ./demo-gtk4 ``` ## Contributing Please send patches to [~yerinalexey/public-inbox@lists.sr.ht][archives] using [git send-email] with prefix set to `hare-gi`: ```shell-session $ git config format.subjectPrefix "PATCH hare-gi" ``` [Hare]: https://harelang.org/documentation/install/ [archives]: https://lists.sr.ht/~yerinalexey/public-inbox [git send-email]: https://git-send-email.io