Page 1 of 2

Is there any decent GUI toolkit for MS Windows?

Posted: Thu Jun 25, 2015 8:39 am
by Lispeth
I'm working on my first CL desktop application, something like a very tiny Maxima (or a very sophisticated calculator). I plan to have it multi-platform, but I'm mainly developing on OS X and Windows. As I want to have a good-looking user interface after having finished the application core, I wonder if there is a good CL binding for any modern toolkit around.

Qt5 does not seem to be a part of the Lisp world yet and it's unclear when that will happen, so I'm, more or less, stuck between two options:
  1. Tcl/Tk

    The current Tk8.6 release does not seem to have wide support yet, I only found simple-tk to support it, but styling Tk's widgets feels weird to me, especially since its documentation doesn't even mention how I can do that.
  2. GTK+

    It's good to know that there is working support for GTK+ 3, and while everything works like a charm on OS X, Windows has a "known issue" of freezing the complete environment when I try to move the window. The author seems to have disappeared by the end of 2014.
Can you help?

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Thu Jun 25, 2015 9:05 am
by Goheeca
You could stick with Qt4 and use CommonQt. The Qt5 support is obviously planned.
There exists CAPI, it looks nice to me, but it's not open/free*.

*It should be noted that I don't mean exact definitions, but rather my feelings about that.

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Thu Jun 25, 2015 9:11 am
by Lispeth
Having to stick with Qt4 for now implies a major rewrite "soon" (when Qt5 is integrated). :?

I could live with apprentice's premium if it wasn't so expensive just to start something.

*edit: Ah, I thought it was a part of the commercial LispWorks. I can live with unfree software, I don't plan to release mine as open source either. Does CAPI have features which TTk lacks?

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Thu Jun 25, 2015 9:32 am
by Goheeca
I can't tell, I've only used CommonQt. But after one brief glimpse, the CAPI is lacking native dialogs (eg. file chooser) and simple-tk has it.

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Thu Jun 25, 2015 9:45 am
by Lispeth
Hmm, do you happen to know how to change the color of, let's say, the first two characters of a line in a text widget in simple-tk? It seems that this is everything I need to get started (for now). It's pretty easy in GTK.

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Wed Jul 15, 2015 5:13 am
by mcheema
you might also want to check qtools which seems to be fairly actively maintained and developed https://shinmera.github.io/qtools/

This project builds on commonqt and tries to provide a layer on top of that.

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Wed Jul 15, 2015 5:16 am
by Lispeth
The problem with qtools is the same; that its stack is not Qt5-ready yet.

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Mon Jul 20, 2015 9:18 am
by mcheema
^^
Fair enough. I still just use LTK (Tk based library) in a very rudimentary way so I am no GUI expert but GTK sounds like a good way to go. Good luck.

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Tue Jul 28, 2015 5:20 am
by marcoxa
The correct question re: CAPI and TK/LTk is the following.

What is in CAPI that is not in TK/LTk? :D

BTW. With LW you have a choice of using the GTk-based version of CAPI.

Cheers
MA

Re: Is there any decent GUI toolkit for MS Windows?

Posted: Mon Nov 30, 2015 6:20 am
by marcoxa
Goheeca wrote:I can't tell, I've only used CommonQt. But after one brief glimpse, the CAPI is lacking native dialogs (eg. file chooser) and simple-tk has it.
CAPI has "native" dialogs (e.g., the File Chooser) everywhere. Look for CAPI:PROMPT-FOR-* (the * stands for pretty much everything).

Cheers

MA