-
Notifications
You must be signed in to change notification settings - Fork 33
Home
PassStorage is a small Lisp application which uses the cl-cffi-gtk library as a GUI. The code is a fork from the repository at andy128k / PassStorage which has been developped by Andrey Kutejko with the cl-gtk2 library.
The application has been implemented very similar to the Application window example below.
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.