[cells-gtk-devel] Re: GUI programming in CL ..

Peter Hildebrandt peter.hildebrandt at gmail.com
Fri Jan 4 13:08:17 UTC 2008


Hi Dimitri,

On Thu, 03 Jan 2008 20:40:13 +0100, Dmitri Hrapof <hrapof at common-lisp.ru>  
wrote:
> Happy New Year!
Same to you!

> I thought that maybe my limited experience would be of interest...
> I've been successfully using OpenGL with cells-gtk and clg for the last  
> two years (using GtkGlExt and GtkDrawingArea) for real-time data  
> visualization. GtkGlExt was recently abandoned but is mantained again  
> now AFAIK.

Wow, that sounds good.  I believed there must be someone out there who has  
done that before, but I could not persuade google to point me in the right  
direction.  Thanks so much for sharing your experience.

> I also use Cairo together with OpenGL in order to draw antialiased  
> rotated Unicode text of different font sizes. Unfortunately, I do not  
> call Cairo and OpenGL functions to draw on the same surface, instead I  
> create a texture with Cairo and display it with OpenGL.

I have never tried this.  What is the reason you cannot mix the two?  Does  
it not work, or is it some issue with the bindings?

> I have to confess I switched from cells-gtk to clg for the new version  
> of my program as the latter let me use glade to build my UI (and, to  
> tell the truth, I used only CFFI part of cells-gtk).

If you're only using the CFFI part, this is the sensible thing to do.   
AFAICT clg is far more complete than cells-gtk.  I suppose the focus of  
cells-gtk is a different one.

Maybe one day we will build cells-gtk on the bindings of clg?

> SBCL is the Lisp used for this project.
> I made a small CFFI binding for GtkGlExt:
> http://www.common-lisp.ru/gtkgl.asd
> http://www.common-lisp.ru/gtk-gl-ext.lisp

Again, thanks for sharing this.  This will save me from reinventing the  
wheel here.  Would it be ok for you if I use your bindings to integrate a  
GLDrawingArea widget in cells-gtk?

Cheers,
Peter



> Sincerely yours,
> Dmitri



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the cells-gtk-devel mailing list