Hello, Ziglings!
How do I get Zig to work with GTK 4?
Creating forms and controls.
Thanks!
1 Like
There is not enough information about the specific issues you’re encountering (and what research you’ve done about the existing projects in Zig that use GTK4) to be of much help.
To begin with, since GTK is a C library (more like a family of C libraries), do you fully understand how Zig+C interop works? If not, then you probably want to simplify things and get the basic Zig/C (and C++) interop working without GTK, because GTK is a humungous and complex beast, and you might need to work up to such a large task.
Is this an XY issue? IOW What has led you to decide that GTK is the right GUI toolkit to use from Zig? There a possibly better options.