1. https://github.com/lc-soft/LCUI LCUI is a C language UI lib which uses XML and CSS to describe interface structure and style. As a result, the UI can be more beautiful.
2. https://github.com/ying32/govcl/ a Golang GUI which is built upon Lazarus' liblcl. So it maybe more mature
if you like react, you can write components in the same way
Sadly it's bindings for Nim are outdated: https://github.com/sciter-sdk/nsciter
C/C++ Lib: https://github.com/c-smile/sciter-sdk
Thanks for that hints. I have recently listed available Nim GUI libs, I will add these 3 to the list when we can provide working bindings and some examples.
Do you know which on my list are currently working? The list is just above Chapter 1 headline in http://ssalewski.de/gtkprogramming.html#_chapter_1.
on windows. I have tested the following:
wNim, which is an alive one among what I have tested and is updated now and then. it supplies many common controls. it can produce tiny size application, but only for windows. I like its autolayout DSL very much, which lets us do the layout in a very brief and effective way. Take only layout into account, wNim's DSL is more effective than XML.
fidget. I can't compile the new updated version
both wNim and Iup stand on the shoulder of mature cross-platform guide lib. As a result, they should have rich controls and functions. But the soon-abandoned binding is too old and raw, and I have to write application after the C/C++ way, as a result I think the code is verbose and even longer than C/C++ code. what's worse, it is too hard to compile a wxnim, which uses wxWidgets, code on windows. On the contrary, it is easy to compile wxWidgets and its demo on windows.
As for LCUI and govcl I mentioned above, I try to call them in python via ctypes since both supply C headers. I can draw the frame and controls on it, but I am stuck during binding the event to controls. I have not try the nim side though. but I think I will be stopped by event binding too.
Do you really? https://github.com/c-smile/sciter-sdk/blob/master/license.htm
At least two of the programs given as the examples on their GH page are terrible in terms of UX.