All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Chapter 1 Using CLIM

NextPrevUpTopContentsIndex

1.7 The CLIM demos

To load the demo software, enter the following in a listener:

(require "clim-demo")

To run it, enter:

(clim-demo:start-demo)

This creates a new window, containing a menu listing all the demos. Choose the demo you wish to see. The CLIM demos are quick sketches of possible applications which demonstrate a variety of CLIM programming techniques. They are not robust, production-quality applications with complete error checking, but they can provide you with some ideas.

Note that the appearance of CLIM windows can be configured on some systems. See 1.7.1, Changing the appearance of CLIM windows

The sources for all the demos are included. The test suite is a collection of examples of CLIM's capabilities. The test suite examples are simple and succinct, so we recommend examining their sources for examples of CLIM's functionality that you may want to employ.

You can also run the demos directly, rather than using the menu, with the following function calls:

Function calls running each of the CLIM demos

Demo

Call

Bicycle gearing

(clim-user::do-bicycle-gearing)

Custom output records

(clim-user::do-scigraph)

Peek

(clim-user::do-peek)

Browser

(clim-demo::do-ico)

Ico demo

(clim-browser::do-browser)

Bitmap editor

(clim-demo::do-bitmap-editor)

Graphics editor

(clim-graphics-editor::do-graphics-editor)

Color chooser

(clim-demo::do-color-chooser)

Plotting demo

(clim-demo::do-plot-demo)

Thinkadot

(clim-demo::do-thinkadot)

Address book

(clim-demo::do-address-book)

15 puzzle

(clim-demo::do-puzzle)

Flight planner

(clim-demo::do-flight-planner)

CAD demo

(clim-demo::do-cad-demo)

Graphics demos

(clim-demo::do-graphics-demo)

Lisp listener

clim-demo::do-lisp-listener)

Test suite

(clim-test::do-test-suite)

1.7.1 Changing the appearance of CLIM windows


Common Lisp Interface Manager 2.0 User's Guide - 7 Aug 2017

NextPrevUpTopContentsIndex