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 <ch.howard@zoho.com> 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