nim-lang / ui

Beginnings of what might become Nim's official UI library.
MIT License
241 stars 32 forks source link

Consider switching from GTK to WebKit #35

Open al6x opened 4 years ago

al6x commented 4 years ago

Hi, a suggestion, maybe it would be better to switch to WebKit-wrapper instead of GTK as a default Nim GUI.

These days people mostly use Web-based things like Electron.JS or native UI.

GTK, JavaFX and similar rare UI are in decline. Almost everyone knows how to use Web UI, not much people know how ot use GTK.

Also see StackOverflow stats about declining GTK usage.

wbehrens-on-gh commented 3 years ago

I don't exactly agree with switching over to a pure Webkit based framework as for what the primary UI library, maybe leave it as an option but I think interacting with the native options for each platform (like NiGui does) would make the most sense, and since Linux doesn't technically have a "native GUI" I'd say either give the option of GTK or Qt, or just go with SDL so that way it'll adopt whatever the window manger uses. so I +1-ish this.