Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A wrapper for Swing aiming to provide more concise syntax and extra functionality. Still in heavy development, syntax may change radically.
Clojure
Branch: inspect
Pull request Compare This branch is 1 commit ahead, 1 commit behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
src
test/clarity/test
.gitignore
LICENSE.txt
README.md
history.md
project.clj

README.md

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"])
Something went wrong with that request. Please try again.