-
Notifications
You must be signed in to change notification settings - Fork 33
Home
Dieter Kaiser edited this page Jan 15, 2014
·
23 revisions
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.