Hi Meikel,

> (make-panel
>    [{:label "Flogiston Pressure" :constraints "1, 1"}
>     {:editor Integer :initial 0 :min 0 :max 5 :atom flogiston- 
> pressure :constraints "2, 1"}
>     {:label "Security Override" :constraints "1, 3"}
>     {:editor Boolean :initial false :atom sec-override :constraints  
> "2, 3"}]
>    :layout my-configured-layout)
> 
> The first would create some kind of Spin control, the second
> a check box. Changing their state would then modify the supplied
> atoms. One could also think of validators, etc...

It seems a very nice idea. I would suggest the use of agents, for the
states, rather than atom. Especially, the possibility to
have watchers seems good. 
But I am a newbie so I can be wrong.


Best,

Nicolas.


--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
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