<html><body>I know it's not wx, but if you were willing to use GTK, you could simply install:<br><br>http://hackage.haskell.org/package/gtk-jsinput<br><br>and generate the form automatically as described in:<br><br>https://github.com/timthelion/gtk-jsinput/blob/master/Graphics/UI/Gtk/Custom/JSInput.hs<p><br></p><p>Timothy</p><p><br></p><p>---------- Původní zpráva ----------<br>Od: Rune Harder Bak &lt;rune@bak.dk&gt;<br>Datum: 29. 11. 2012<br>Předmět: [Haskell-cafe] Simple GUI Form</p><br><blockquote>Hi<br><br>I have some input parameters<br>data Input = ...<br>that I need the user to enter in a gui pop-up. (windows people...)<br>The rest of the app is not gui (or perhaps progress could be displayed<br>in a log-window)<br><br>What is the easiest way to make such a GUI form?<br><br>It need to compile for both Linux and Windows, so I though WxWidgets was ideal,<br>and I got wx[1] &lt; 0.90 to install (using wxWidgets2.8) on both windows<br>and linux.<br><br>Now I just need to create the form, but how do you do that?<br>Any clues or links to examples? I have never used wxwidgets on any<br>platform or done any other form of GUI before for that matters.<br>(apart from some Visual Basic ten years ago, and html).<br><br>I tried looking at wx examples, but I couldn't find this simple use<br>case explained anywhere.<br><br>I installed wx in the first place because WxGeneric[2] seemed exactly<br>what I needed,<br>but I can't get it to compile using ghc7.4.2 from haskell-platform.<br>Anybody got that working or have some other simple method?<br><br>Help much appreciated!<br><br>-Rune<br><br>[1] <a href="http://hackage.haskell.org/package/wx-0.13.2.3">http://hackage.haskell.org/package/wx-0.13.2.3</a><br>[2] <a href="http://hackage.haskell.org/package/WxGeneric">http://hackage.haskell.org/package/WxGeneric</a><br><br>_______________________________________________<br>Haskell-Cafe mailing list<br>Haskell-Cafe@haskell.org<br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a></blockquote></body></html>