While experimenting with FFI a bit more, I wrote a few python scripts that generate bindings for GTK.
It contains most of GTK’s widgets and functionality and I also created a few demos for it. Setting it up is pretty simple, just install the GTK toolkit, add the link commands to pixi.toml’s [activation.env], MODULAR_MOJO_MAX_SYSTEM_LIBSenv parameter, and getting the gtk.mojo pre-generated file from the github repo.
I’ve only currently tested in on MacOS and Ubuntu.
I made a few demos too.


