;; 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"
(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))
: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))