Hi there,

I have so many questions...  three questions.

(def b (button :text "XSD" :size [30 :by 30] :margin 2))
(def c (button :text "XML" :size [30 :by 30] :margin 2))
(def v (button :text "Validate" :size [160 :by 30]:margin 2))

(def splt (top-bottom-split
(horizontal-panel :items [(text "XSD") b])
(top-bottom-split (horizontal-panel :items [(text "XML") c])
v)))

(listen v :action (fn [e] (alert (apply :message (errors (is-valid-xml? 
(slurp xml-path)))))))

(def dl (dialog :content "Replace this with something more informative."))


   1. When button b is clicked the listener calls the xerces library and 
   that then locks the user interface for a few important seconds.  Is there 
   an easy way to handle this gracefully (liker running the library call in 
   another thread and disabling v until it returns)?
   2. How do I link the text panes to the buttons, to show the file paths 
   of chosen files and then when Enter is pressed trigger an event like the 
   button press?
   3. How do I configure a dialog to show an icon and something like a 
   multi-line label centered?

I nearly have my application finished but these three (probably simple) 
things have me stumped.  Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to