SawfishWM / rep-gtk

GTK+2 binding to librep
GNU General Public License v2.0
11 stars 5 forks source link

-- text --

This is rep-gtk, a binding of GTK+ for the librep Lisp system. It is based on Marius Vollmer's guile-gtk binding (initially version 0.15, updated to 0.17), with a new glue-code generator.

For more details see:

http://sawfish.wikia.com

Installation

Basically, `./configure ; make ; make install'. If you're building from the git repository, use ./autogen.sh instead of ./configure.

It requires Gtk+ version 2.

Feedbacks

Please report Bugs and all patches to the mailing list sawfish-list@gnome.org.

When possible, please make patches in unified diff format (i.e. 'diff -u' or use 'git diff').

Usage

Import the module gui.gtk-2.gtk to load the library, then call functions as in guile-gtk. The only difference is that Lisp conventions are used for booleans, i.e. nil for #f, and non-nil for #t.

See the included *.defs files for the details of how the library maps to lisp functions. See also examples.

Don't test it from sawfish-client, but use the bare rep. Otherwise, Sawfish will crash.

Caveats

It's still too easy to crash the Lisp interpreter through invalid use of GTK..

Copyright

Rep-gtk is released under GPLv2.

Maintainer

Rep-gtk was originally written by John Harper. The current maintainer is Christopher Roy Bratusek. E-mail: nano@jpberlin.de