Skip to content
Dieter Kaiser edited this page Jan 15, 2014 · 23 revisions

15-01-2014

The cl-cffi-gtk library comes with a demo similar to the GTK+ demo for the C library. At this time the GTK+ Demo for Lisp includes 51 code examples. You find the Gtk* Demo for Lisp in the directory /demo/gtk-demo. Load the demo with the command (load "gtk-demo.lisp) from the Lisp prompt, execute the command (in-package :gtk-demo) and start the demo with the call (main).

The last example added can be used as a template for a small Lisp application. The example demonstrates a typical application window with menubar, toolbar, statusbar. The example uses GtkUIManager and GtkActionGroup which are implemented in the Lisp binding as the classes gtk-ui-manager and gtk-action-group.

Demo Application Window


Clone this wiki locally