3 Jun 2007 18:45
cells-gtk drawing-area widget
Martin Flack <martin <at> martinflack.com>
2007-06-03 16:45:14 GMT
2007-06-03 16:45:14 GMT
Hi all, I'm writing some stock equities charting software in Common Lisp for my own amusement and to learn the language. I'd like to start by porting over a simple program I had in Perl to draw daily price bars. I used Tk in Perl so I was planning to use LTK but cells-gtk caught my eye and looks interesting. I noticed the drawing.lisp is commented out in the asdf file - is anyone actively using this widget in their code? I uncommented it and got it to compile on SBCL. Secondly, I can't seem to get the widget to come up. I lifted some example code from Google, but something's wrong. What I'm trying is below - what happens is the program runs fine but there is no graphic element, just the text label and entry box. Tk does offer a canvas widget which might be helpful to my application, but I'm thinking that since the objects I'd want to handle will be conceptually higher than lines, rectangles, etc. that I could program my own canvas-type abstraction anyway. Any comments would be appreciated. Thanks!(Continue reading)Martin (require :cells) (require :cells-gtk) (defpackage hello-world
Martin
(require :cells)
(require :cells-gtk)
(defpackage hello-world
RSS Feed