guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gtk canvas bindings


From: tomas
Subject: gtk canvas bindings
Date: Wed, 16 Oct 2002 13:29:50 +0200
User-agent: Mutt/1.3.24i

Hi,

this is a very rough first attempt at getting the Gtk canvas
widget to play with guile. Lots of open issues remain (see my
other postings).

I used Marius's and Ariel's guile-gtk bindings and binding
generators, available at

  <http://www.zagadka.ping.de/guile-gtk/latest.html>

The Gtk canvas widget is a Gtk+ backport of the Gnome canvas
widget which features antialiased display, grouping of objects,
event handling at object level and lots of nice features (e.g.
find object at point). The backport is maintained by Andy Tai
and is available at

  <http://www.atai.org/gtk-canvas/gtk-canvas.tar.gz>

Note that this is a very rough first attempt, and there
are many open issues, but I'd like to hear comments before
rushing on. I'd be especially interested in a discussion
on whether it's the way to go using the guile-gtk bindings
or something more `mainstream', like g-wrap or swig.

If you still are courageous and want to test it (I managed
to bring down my X server -- ellipses with too many negative
coordinates seem to have an especially bad karma. You have
been warned!), unpack the distribution, cd to the unpack
directory and type

  ./configure
  make

(you may safely skip the `make install', since the thing
should run off the compilation directory). Then do

  guile -s test-gtkcanvas.scm

and should see some colourful (don't expct too much yet,
though) stuff coming up. Enjoy.  Hack. Comment.

Thanks
-- tomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]