[ltk-user] Problems with double floats

Tobias C. Rittweiler tcr at freebits.de
Sat Aug 11 15:53:47 UTC 2007


Hi,

maybe I'm missing something obvious, but LTK doesn't seem to work with
double-floats for me. For instance:

  (with-ltk ()
       (let ((c (make-canvas nil)))
	 (pack c)
	 (create-line c '(0 0 100 100))))

   vs.

   (with-ltk ()
       (let ((c (make-canvas nil)))
	 (pack c)
	 (create-line c '(0 0 100 100d0))))

In the first case, a window pops up with the line drawn as desired. But
in the second case, an /empty/ window pops up. Further, when trying to
to close the window, the window exits on one hand, but the Slime REPL
doesn't get back. (I have to interrupt via `C-c C-c', and then type `q'
to get out of SLDB.)

Huh? :-),

  -T.




More information about the ltk-user mailing list