Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.08 KB

THIS LIBRARY IS NO LONGER ACTIVELY MAINTAINED

Feel free to learn from it, cannibalise its code for your own projects, and I suggest that you use the MUCH BETTER seesaw library instead.

Clojure GUI library, based on Swing. See the project wiki for details on how to use it. You can also watch a 30 minute presentation on the library.

If you are using leiningen, add the following dependency to your project.clj:

   [clarity "0.5.6"]

If you are using Clojure 1.2.x, make sure that your project.clj includes clojure-contrib:

   [clarity "0.5.6"]
   [org.clojure/clojure-contrib "1.2.0"]

Example of the form facilities:

    (show-dialog
     (form [:header "The form"]
           [:text "Please fill in the **entire** form." :rich]
           :first-name ""
           :surname ""
           :gender ["male" "female" "other"])
     ["OK" "Cancel"])