Liking cljdoc? Tell your friends :D

Logo Clojure Desktop Toolkit Documentation

Start here. 😁

Introduction

The Eclipse SWT (Standard Widget Toolkit) library, on which the Clojure Desktop Toolkit is based, rigorously adheres to a set of standard naming and usage conventions. As a result, it is possible to mechanically generate a Clojure API for SWT using Java reflection and Clojure macros at compile time.

This is what the Clojure Desktop Toolkit does. Clojure Desktop Toolkit maps Clojure idioms to Java data types, but there is no magic in the API mapping. There are no new abstractions to learn.

When you have worked through the documentation, you should be able to read SWT code examples and Javadocs and immediately understand how to write the equivalent Clojure code.

I hope this toolkit returns joy to beautiful and useful desktop application development. 😁

Contents

Getting started

Tutorial

SWT Basics - A basic tour and quick reference

Reference information

Eclipse Databinding

As the Hyperfiddle developers observe, user interfaces are directed acyclic graphs (DAGs). It would be nice to model this directly rather than handle events all the time. Current work is to support Eclipse/JFace Databinding (possibly using Missionary). In the meantime, the following references may be helpful:

Back to README.md

Can you improve this documentation? These fine people already did:
David Orme & Dave Orme
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close