Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 2.74 KB

FAQ.md

File metadata and controls

37 lines (28 loc) · 2.74 KB

FAQ

Why support only Linux?

Because this is my primary target, as it is where GTK is the native UI. Support for Windows / MacOSX shouldn't be too hard to add, if anyone is interested (just need to update build files).

Why create a new GTK binding instead of reusing one of the existing ones?

This question is perfectly legitimate. I would have liked to rely on an existing binding (I could have focused on creating tools around it), however I finally chose not to for the following reasons:

To me, Glade files binding is critical and was an objective from day 1, as it's what I miss most in GTK development. Wrappers make that complicated as they leave 2 options: 1/ reinstanciating objects constantly or 2/ maintain a shadow component tree of wrappers mirroring the low-level components.

I feel this is not memory efficient, elegant, and practical in terms of implementation, hence my attempt at getting away without wrappers only with type-aliases and extension functions.

I'd be happy to be proven wrong and be able to use another binding, though :) (that would allow me to focus on other features)

So, though it feels a bit like (https://xkcd.com/927/) ;-), my issue with the existing bindings is not a mere implementation detail, (otherwise I would have tried to contribute fixes / missing features), but the general approach.