Skip to content

A wrapper for Swing aiming to provide more concise syntax and extra functionality. Still in heavy development, syntax may change radically.

License

Notifications You must be signed in to change notification settings

stathissideris/clarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"])

About

A wrapper for Swing aiming to provide more concise syntax and extra functionality. Still in heavy development, syntax may change radically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published