vlang / ui

A cross-platform UI library written in V
MIT License
2.33k stars 154 forks source link

gtk alternative #476

Open MyTDT-Mysoft opened 2 years ago

MyTDT-Mysoft commented 2 years ago

"On Linux, V UI will be a full-featured lightweight alternative to GTK and Qt."

does that mean that.... 1) it will be usable from C like GTK 2) it will be usable from V without external layout files and without object oriented features (again like GTK) or 3) none of the above? (and so misleading sentence)

metif12 commented 2 years ago

v ui use v and we use sokol as backend at least for now.

felixf4xu commented 1 year ago

My understanding: ui will be usable from v, it might use layout files (like .ui files), it might have meta object system (like in qobject), it does not mention whether it will be object oriented or not.

Only in that case, ui can be an alternative to GTK or QT. Some similar features from GTK/QT might not be implemented to be lightweight .

MyTDT-Mysoft commented 1 year ago

My understanding: ui will be usable from v, it might use layout files (like .ui files), it might have meta object system (like in qobject), it does not mention whether it will be object oriented or not.

Only in that case, ui can be an alternative to GTK or QT. Some similar features from GTK/QT might not be implemented to be lightweight .

well gtk does not need layout files... and GTK is usable from C (which does not have OOP capabilities), so the only way for it to be an alternative for that is by providing the same features :)

xandro0777 commented 1 year ago

Who cares about GTK or QT, I don't want to replace them because I never used them. It should do it's job.