chiark / gitweb /
Initial checkin
[clg] / examples / testgtk.lisp
index 1bc85c256ad164e711955bebace2e077d8a35619..7db19a9bf95c33d0b3b6d7407a3958aeb3dd8daa 100644 (file)
 ;; Kimball, Josh MacDonald and others.
 
 
-;; $Id: testgtk.lisp,v 1.32 2005-04-25 21:45:05 espen Exp $
+;; $Id: testgtk.lisp,v 1.34 2006-02-26 23:46:55 espen Exp $
 
 #+sbcl(require :gtk)
+#+sbcl(require :sb-posix)
 #+cmu(asdf:oos 'asdf:load-op :gtk)
 
 (defpackage "TESTGTK"
@@ -305,7 +306,8 @@ (define-dialog create-color-selection (dialog "Color selection dialog"
     (signal-connect dialog :cancel #'widget-destroy :object t)))
 
 
-;;; Cursors
+;;; Cursors (Note: using the drawing function in Gdk is considered
+;;; deprecated in clg, new code should use Cairo instead)
 
 (defun clamp (n min-val max-val)
   (declare (number n min-val max-val))
@@ -665,7 +667,8 @@ (#+cmu glib:latin1-to-unicode #+sbcl identity
                      :pattern  "_________________________ _ _________ _ _____ _ __ __  ___ ____ _____")))))
 
 
-;;; Layout
+;;; Layout (Note: using the drawing function in Gdk is considered
+;;; deprecated in clg, new code should use Cairo instead)
 
 (defun layout-expose (layout event)
   (when (eq (gdk:event-window event) (layout-bin-window layout))