My vote is for Swing. Despite its flaws, it's the Java standard -
there's no need to worry about compatibility (SWT) or licensing
(Jambi) issues, and there's a wealth of material online to study it
further. It's included with Java, which is a huge plus in a tutorial
setting - personally, I'd be very turned off if I had to download and
configure an additional library just to follow the examples in a book.
And a lot more programmers are going to be familiar with Swing than
any of the others.

Plus, in 15 pages, you're not going to be able to cover any reasonable
amount of any library, so really, the library itself doesn't matter as
much. What's more important is showing how to use Clojure to interact
with Java in a variety of more complex UI scenarios, which Swing
offers. Once those concepts are grasped, the actual library is
immaterial.

Just my two cents.

-Luke

On Nov 4, 10:32 am, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> For the book would people rather see Swing or Qt Jambi examples? Or  
> something else? The book won't spend more than 10 of 250 pages on UI  
> stuff, so I'd rather do one reasonably interesting example than skim  
> several.
>
> Stuart
>
> > On Tue, Nov 4, 2008 at 10:01 AM, Rock <rocco.ro...@gmail.com> wrote:
>
> >> Anyway, where I work, I've done a lot of programming in Python on
> >> Linux as well. I've used Glade and LibGlade extensively in this
> >> respect, and I've come to appreciate the ease with which one can put
> >> together a GUI application with these tools. Especially, I like the
> >> fact that one can load the XML of the GUI in runtime and set up all
> >> the signals to the callbacks almost automagically.
>
> > One possible approach is with Qt Jambi.  They have a nice GUI builder
> > called "designer" that generates an xml file that can be loaded at
> > runtime.  He's a rough example:
>
> >http://paste.lisp.org/display/69450
>
> > --Chouser
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to