Re: [offtopic]2 cross-platform GUI library

2020-07-13 Thread shirleyquirk
Dear imgui not have any love? 


Re: [offtopic]2 cross-platform GUI library

2020-07-13 Thread Yardanico
It's nice, but I think it's not the best choice if you actually want to make a 
user-oriented desktop application. It's very useful for developers (debugging, 
creating game editors, etc) 


Re: [offtopic]2 cross-platform GUI library

2020-07-12 Thread Yardanico
Yes, I know that it's proprietary unless you pay, but you can freely use the 
binaries in your applications (even in commercial ones). And no one stops you 
from making a program with _good_ UX since it's HTML + extensions/CSS2.1 + some 
CSS3 + custom extensions/custom TiScript (JavaScript-like language)


Re: [offtopic]2 cross-platform GUI library

2020-07-12 Thread Zoom
Do you really? 
[https://github.com/c-smile/sciter-sdk/blob/master/license.htm](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.


Re: [offtopic]2 cross-platform GUI library

2020-07-11 Thread oyster
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.


Re: [offtopic]2 cross-platform GUI library

2020-07-11 Thread Yardanico
Wow, Sciter seems to be really amazing! I must try it


Re: [offtopic]2 cross-platform GUI library

2020-07-11 Thread Stefan_Salewski
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](http://ssalewski.de/gtkprogramming.html#_chapter_1).


Re: [offtopic]2 cross-platform GUI library

2020-07-11 Thread oyster
thank you for pointing out sciter. although it looks nice, I found the document 
or tutorial is lack, at least for python/nim language. 


Re: [offtopic]2 cross-platform GUI library

2020-07-11 Thread Sk1LLb0X
My suggestion is [Sciter](http://sciter.com)

  * It's [free](https://sciter.com/prices/)
  * 
[Lightweight](https://terrainformatica.com/2018/12/23/sciternode-versus-electron/)
  * [Cross-platform (win, linux, osx, arm)](https://quark.sciter.com/)
  * Single dll 5-7mb (depending on renderer)
  * [Embeddable](https://sciter.com/sciter-lite-is-published/)
  * Doesn't require you to use it's script language, script stuff can be done 
through the program's lang (c, go, rust, python, nim...)



[if you like react, you can write components in the same 
way](https://sciter.com/docs/content/reactor/lifecycle.htm)

Sadly it's bindings for Nim are outdated: 
[https://github.com/sciter-sdk/nsciter](https://github.com/sciter-sdk/nsciter)

C/C++ Lib: 
[https://github.com/c-smile/sciter-sdk](https://github.com/c-smile/sciter-sdk)


[offtopic]2 cross-platform GUI library

2020-07-11 Thread oyster
1\. [https://github.com/lc-soft/LCUI](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](https://github.com/ying32/govcl)/ a 
Golang GUI which is built upon Lazarus' liblcl. So it maybe more mature