Simply and easy graphical toolkit?

Hi. What would be the simplest and easiest Haskell graphical toolkit to use? I remember a few years ago I tried Gloss and was really happy with it, but I also wanted to be able to have a few buttons and text fields on the screen for user input, without having to build them from scratch. -- http://justonemoremathproblem.com/

Dear Christopher, I've built a small GUI library called Threepenny-GUI[1] for this purpose. Maybe that can help? It uses the web browser as a display, so it should be easy to install. [1]: https://wiki.haskell.org/Threepenny-gui Best regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com Christopher Howard wrote:
Hi. What would be the simplest and easiest Haskell graphical toolkit to use? I remember a few years ago I tried Gloss and was really happy with it, but I also wanted to be able to have a few buttons and text fields on the screen for user input, without having to build them from scratch.
------------------------------------------------------------------------
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

GTK bindings is certainly a good conservative choice. It is flexible; you can do anything you can do with gtk. It's also easy to use. You can also use glade to help you desing ui's. Cheers Silvio

On Wed, Sep 23, 2015 at 2:19 AM, Christopher Howard
Hi. What would be the simplest and easiest Haskell graphical toolkit to use? I remember a few years ago I tried Gloss and was really happy with it, but I also wanted to be able to have a few buttons and text fields on the screen for user input, without having to build them from scratch.
-- http://justonemoremathproblem.com/
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Elementary [1] toolkit is certainly simple, but binding for it are currently WIP [2]. [1] : https://www.enlightenment.org/ [2] : https://bitbucket.org/arrowdodger/efl-haskell

Not really an answer to your question, but more a hope that someone has built something that would be. The nicest tool I've ever used for creating GUIs that were mostly graphics with some clickable elements was JF Bartlett's ezd. See http://www.hpl.hp.com/techreports/Compaq-DEC/WRL-91-6.pdf for more info. The diagrams package is easy to use, but more powerful than simple. With the gtk backend you can get points from mouse clicks, The diagrams user manual points out that the query feature of diagrams could use such clicks to identify a set of elements that were clicked on, which could then be used to find the code you want to run. So in theory, you could use diagrams in a manner similar to the way ezd worked - but I couldn't seem to find an example of this use. On Wed, Sep 23, 2015 at 5:34 AM Gleb Popov <6yearold@gmail.com> wrote:
On Wed, Sep 23, 2015 at 2:19 AM, Christopher Howard
wrote: Hi. What would be the simplest and easiest Haskell graphical toolkit to use? I remember a few years ago I tried Gloss and was really happy with it, but I also wanted to be able to have a few buttons and text fields on the screen for user input, without having to build them from scratch.
-- http://justonemoremathproblem.com/
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Elementary [1] toolkit is certainly simple, but binding for it are currently WIP [2].
[1] : https://www.enlightenment.org/ [2] : https://bitbucket.org/arrowdodger/efl-haskell _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (5)
-
Christopher Howard
-
Gleb Popov
-
Heinrich Apfelmus
-
Mike Meyer
-
Silvio Frischknecht