Hi Geoffrey,
Thanks for the tip. I put . for every command within the doto.
Also looking forward to having a look at the Qt work you are
currently doing.
Cheers,
Sun
On Dec 12, 4:32 am, "Geoffrey Teale" wrote:
> 2008/12/12 Geoffrey Teale
>
>
>
> > Hi,
>
> > Depending on which version of Cloj
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 ve
Hello Rock,
> Does anyone know of such a possibility? And, if not, what are the
> chances of coming up with a tool like that? I'm not a Java nor a Swing
> expert, so I haven't the faintest clue as to what the difficulties may
> be.
There is such a tool for jruby (which I tried for a basic gui)
Swing - as it comes built in with java
Vlad
--~--~-~--~~~---~--~~
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 ema
2008/12/12 Geoffrey Teale
>
>>
> Hi,
>
> Depending on which version of Clojure you are using you may find that you
> need to change:
>
> (doto button
> (resize 250 100))
>
> to:
>
> (doto button
>
Argh.. goddam google mail... I meant to say:
(doto button
(.resize 250 100))
Note the add
2008/12/12 wubbie
>
> Hi,
> The same hello world did not work for me.
> The error msgs are:
> (defn hello-world []
> (qt4
> (let [app (QCoreApplication/instance)
> button (new QPushButton "Go Clojure Go")]
> (.. button clicked (connect app "quit()"))
> (doto button
> (res
Hi,
The same hello world did not work for me.
The error msgs are:
(defn hello-world []
(qt4
(let [app (QCoreApplication/instance)
button (new QPushButton "Go Clojure Go")]
(.. button clicked (connect app "quit()"))
(doto button
(resize 250 100)
(setFont (new Q
On Nov 4, 9:06 am, "Geoffrey Teale" <[EMAIL PROTECTED]> wrote:
> If you teach the general principles of Clojure then using any of them should
> be easy enough. As Graham said, it's better to stick with the out of the
> box GUI layer for a general purpose book. Qt Jambi was actually a little
>
2008/11/4 Rich Hickey <[EMAIL PROTECTED]>
> I know people have built UIs with Netbean's Matisse, which is supposed
> to be very good, and wired them up with Clojure. IMO that's a
> promising approach.
I have quite a lot of experience with Swing/Qt so for once I can contribute
something informati
Actually I've just succeeded in doing that :) I'll post some instructions if
anybody wishes. It's straightforward enough. But still, the code that
Matisse generates is Java. Not that there's necessarily anything wrong with
that. Maybe I'm biased because of my prior experience with GTK, Glade, and
L
On Nov 4, 11:56 am, Justin Henzie <[EMAIL PROTECTED]> wrote:
> My preference is that the book focuses on the default java stack.
>
+1
I know people have built UIs with Netbean's Matisse, which is supposed
to be very good, and wired them up with Clojure. IMO that's a
promising approach.
Rich
> For the book would people rather see Swing or Qt Jambi examples?
I use Swing occasionally, and have never used Qt, but I'd vote for Qt
examples to see how it compares.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
My preference is that the book focuses on the default java stack.
I am hoping that the book can demonstrate the simplicity of developing
with clojure and avoiding additional configuration and downloading of
significant libraries and frameworks that might dilute that message.
That being said, I a
On Nov 4, 6:11 pm, Matthias Benkard <[EMAIL PROTECTED]> wrote:
> Its free license is incompatible with Clojure's, though, so you'd need
> to buy a commercial license, right?
>
> Matthias
Oh, I'm wrong! That's nice. :)
http://doc.trolltech.com/4.4/license-gpl-exceptions.html
Matthias
--~--~
On Nov 4, 4:26 pm, Chouser <[EMAIL PROTECTED]> wrote:
> 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.
Its free license is incompatible with Clojure's, though, so you'd need
to buy a commercial
> > For the book would people rather see Swing or Qt Jambi examples?
>
I practice Qt Jambi is a much better UI layer than Swing, but then so is
SWT.
If you teach the general principles of Clojure then using any of them should
be easy enough. As Graham said, it's better to stick with the out of
> For the book would people rather see Swing or Qt Jambi examples?
I would rather see Swing. I have no experience of either, or opinion
on which is better but I would rather not have to download a 3rd party
library to follow the examples in the book (which I'm really looking
forward to!).
Graha
2008/11/4 Stuart Halloway <[EMAIL PROTECTED]>
>
> For the book would people rather see Swing or Qt Jambi examples?
Personally, Qt Jambi definitely. While Swing is the standard Java UI
library it pales in comparison to Qt and is still under-supported by Sun
IMO. But if Qt licensing issues put p
It depends perhaps. From what Chouser has shown us, it can be really easy to
build GUIs with Qt Jambi. Maybe not as easy as with Glade and LibGlade, in
that you have to hook the signals to the slots manually it seems (correct me
please if I'm wrong). But still, very attractive.
There is of course
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 <[EMAIL PROTECTED]> wrote:
>
On Tue, Nov 4, 2008 at 10:01 AM, Rock <[EMAIL PROTECTED]> 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 applicati
21 matches
Mail list logo