~yerinalexey/hare-gi

GTK bindings and GObject Introspection bindings generator for Hare
a month ago
a month ago

#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 using git send-email with prefix set to hare-gi:

$ git config format.subjectPrefix "PATCH hare-gi"