gotk4
A GTK4 bindings generator for Go.
Package documentation | Package examples | GIR documentation | Progress tracker
All generated packages are in pkg/
. The generation code is in gir/girgen/
.
Examples are put in another repository, diamondburned/gotk4-examples, along with instructions on getting started with using these packages. Refer to its README for more information.
As of the time this README was written, most of pkg/gtk/v4
and pkg/gtk/v3
are ready to be used for most purposes. However, memory leaks and sometimes
crashes may occur in certain parts of the API, while other parts might be
completely missing. In that case, an issue should be opened.
Contributing to gotk4
For contributing guidelines, see CONTRIBUTING.md.
License
gotk4
contains 3 directories licensed differently:
gotk4/gir
is licensed under the GNU Affero General Public License v3. This license does not apply to the code generated by itself.gotk4/pkg
is licensed under the Mozilla Public License v2.gotk4/pkg/cairo
is licensed under the MIT license, originally written by "Conformal Systems", later maintained by the gotk3 organization.
Some small snippets of code were taken from tinyzimmer's go-glib, which implements type subclassing.