Thanks. cljque looks interesting and might provide a nice abstraction
for swing events.
I made a little example of hooking a textbox to a ref:
https://github.com/daveray/seesaw/blob/master/src/seesaw/examples/text_ref.clj
Generalizing it might be tricky since data models (the stuff behind
the re
Cool. Have you seen https://github.com/stuartsierra/cljque ? They
might be nice to use with Swing events.
I figured you could turn a string into a label, button or textbox
depending on if it's wrapped in an atom, observer or not at all. But
that is just more blabla, I need to make some time to loo
Thanks. At the moment Seesaw has a ToWidget protocol which it uses to
implicitly convert things to Swing components (String -> JLabel,
Action -> JButton, etc). So it should be pretty extensible beyond the
default conversions that are supplied.
Dave
On Tue, Apr 19, 2011 at 10:41 AM, pepijn (aka fl
I'll look at it more closely later, but the idea of a Swing wrapper
DSL is awesome.
It occurred to me that Lisp is data as code, and that every object can
transform itself into something printable (toString).
So why don't objects support toSwing? With the aid of metadata, I'm
sure it could work.
Such a wrapper can be really useful. There is also swing-utils in
contribs.
We also have a few wrapper functions for our project, you may find
them interesting: http://bit.ly/h1RN6r
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this grou
I haven't look nothing but the REAME too, but the project seems
promising :)
Good work and keep improving it!
Alfredo
On Apr 19, 3:23 am, Rayne wrote:
> I haven't had a chance to look over more than the README, but I was
> actually considering writing something like this myself. Before I
> progr
I haven't had a chance to look over more than the README, but I was
actually considering writing something like this myself. Before I
progress any further, I must say: thank you so much for doing this so
that I don't have to.
On Apr 18, 5:57 pm, Dave Ray wrote:
> Hi,
>
> For the last few weeks, I