Re: Recommended GUI library?

2020-03-20 Thread Neodim
Also trying to find a NIM GUI lib... TCL with Python is fine - is there any analog for NIM? Function needed: Buttons, labels, text fields, tree or expanded view, grid placing? Also what is the best for real time plotting of math graphics? With grig, axis, labels? Dreaming to find all of it

Re: Recommended GUI library?

2020-03-18 Thread Lachu
Python have TCL in standard library (in reference implementation).

Re: Recommended GUI library?

2020-03-18 Thread oyster
the choice depends on your desire heavily. if you just need some button, dialogue box, most of the gui lib maybe work. but if you need grid/cell, web browser and math/latex, only maybe the famous wxdigets/qt, and not so famous iup can work.

Re: Recommended GUI library?

2020-03-18 Thread oyster
there is a C interface to fltk by D. J. Peters for freebasic language. But since dynamic library is supplied, we can use FLTK-C in other language. As a result, I translate the rich freebasic examples into nim. You can check it at

Re: Recommended GUI library?

2020-03-17 Thread cumulonimbus
Tangential: I haven't done GUI work in a long long long time, but I discovered FLTK in 1998 (then pre-1.0), and came back to it again and again, last time in 2012, for the simple reason that it never flickered thanks to built-in double buffering - and every other toolkit, even in 2012, had

Re: Recommended GUI library?

2020-03-17 Thread skprime
NiGui is phenomenal.

Re: Recommended GUI library?

2019-12-11 Thread Libman
Minimalists and license purists go [nuklear](https://github.com/zacharycarter/nuklear-nim).

Re: Recommended GUI library?

2019-12-11 Thread marks
OK, thanks. Docs ought to mention that.

Re: Recommended GUI library?

2019-12-11 Thread marks
QML depends on Qt which is big (like wx) compared to, say NiGui. Also Qt's mutli-license is a problem for some people.

Re: Recommended GUI library?

2019-12-10 Thread rockcavera
The SDL2.dll that comes with Nim is 32bits, you need to download the 64bits version if you are compiling a 64bits executable. I believe that is your problem.

Re: Recommended GUI library?

2019-12-10 Thread filcuc
Dunno i think that nimqml is enough dir most simple project. _warning_ I'm the author. Probably most people don't like to build and install the native c++ library

Re: Recommended GUI library?

2019-12-10 Thread marks
I tried your hello example on Linux and it works fine. But on Windows the same code gives this error: `could not load: SDL2.dll`. My nim bin folder (containing the SDL*.dlls) in on my PATH. I then copied SDL2*.dll from nim's bin folder to the same folder as the hello.nim but it still gave the

Re: Recommended GUI library?

2019-12-09 Thread dawkot
Is there a good reason people often don't even mention QML in these threads?

Re: Recommended GUI library?

2019-12-09 Thread Stefan_Salewski
> Same pattern goes for gtk3. The only upto date gtk binding lacks any form of > API reference, and it's been a couple years. We had the discussion (again) some days ago at GTK forum:

Re: Recommended GUI library?

2019-12-09 Thread Araq
> None of them has any API documentation, let alone any websites. It's > frustrating not to see any form of documentation other than "looking at > existing the project that uses both". Both have documentation at the github entry page but it's a very good point regardless. I'll see if I'll

Re: Recommended GUI library?

2019-12-09 Thread adnan
What's Nim's killer app/library? Jester and Karax? None of them has any API documentation, let alone any websites. It's frustrating not to see any form of documentation other than "looking at existing the project that uses both". Same pattern goes for gtk3. The only upto date gtk binding lacks

Re: Recommended GUI library?

2019-12-09 Thread marks
I'm starting to experiment with NiGui. I'm trying to create "widgets" that maintain some state and that can communicate events between the child widgets they contain. I also want to modularise the code into separate functions and objects. Here's my first hack on your example 10 (see also a

Re: Recommended GUI library?

2019-12-09 Thread rayman22201
nimx: [https://github.com/yglukhov/nimx](https://github.com/yglukhov/nimx) The documentation is lacking, but it's maintained, performant, and cross platform

Re: Recommended GUI library?

2019-12-09 Thread phillvancejr
Hey @marks, you're right it should be added there. It is an old package and is just in maintenance mode so it definitely needs some updating. I'm not the original creator of the bindings but I plan on making a pull sometime in the near future to update it with my changes and instructions for

Re: Recommended GUI library?

2019-12-09 Thread Trustable
I'm the author of NiGui. @rockcavera Please create an GitHub issue for the refresh issue you described. Maybe it's easy to fix. @marks You're right, the documentation is still a missing part.

Re: Recommended GUI library?

2019-12-09 Thread marks
I didn't even know there was a wxWidgets port. When I searched the nimble package site for "gui" it didn't find it (maybe it isn't there) and nor is it mentioned in the Curated Packages. Probably good if you put it in one or both those places so people could find it:-) Also might help if you

Re: Recommended GUI library?

2019-12-09 Thread JPLRouge
I tested back and forth and it works. I even got into the code and it works. moreover you can use a designer or do everything by hand ...

Re: Recommended GUI library?

2019-12-09 Thread phillvancejr
Hello, I personally use the wxWidgets bindings. There isn't a ton of documentation on the Nim bindings specifically, but between the examples and wxWidgets c++ documentation, it is easy enough to navigate. Check out he wxWidgets window creation example I just uploaded to Rosetta Code,

Re: Recommended GUI library?

2019-12-09 Thread enthus1ast
The best/most advanced gui library for nim is afaik gintro (gtk). I can also recommend web view for smaller things.

Re: Recommended GUI library?

2019-12-09 Thread marks
I've now tried the "hello world" program for all those that claim to be cross-platform (at least Linux & Windows). Most don't actually work on Windows, and all but one requires at least one `.so` or `.dll`. The one exception is [NiGui](https://github.com/trustable-code/NiGui). This is pure Nim

Re: Recommended GUI library?

2019-12-08 Thread kcvinu
Everyone is focused on web programming. No one has any interest in desktop programming. This is the case in many programming languages, not just Nim.

Re: Recommended GUI library?

2019-12-08 Thread rockcavera
I'm also after a GUI package for Windows and Linux (at least) that has as few dependencies as possible. So far I'm using NiGui, but I'm not totally satisfied. I tested it on Windows and it seems to have some "problems" that bother who is a perfectionist. This issue is taking some time to

Re: Recommended GUI library?

2019-12-08 Thread juancarlospaco
https://forum.nim-lang.org/t/5632

Re: Recommended GUI library?

2019-12-08 Thread e
There's a list of [Curated Packages](https://github.com/nim-lang/Nim/wiki/Curated-Packages) that include a GUI section. I was pleased with how easy it is to get the cross-platform nimgui working.