X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/bd359292736503f7a7a934e2311f4e332af10a60..beae657932a8db54ea662b6b48eebb62dd23f98b:/examples/testgtk.lisp diff --git a/examples/testgtk.lisp b/examples/testgtk.lisp index 1bc85c2..7db19a9 100644 --- a/examples/testgtk.lisp +++ b/examples/testgtk.lisp @@ -26,9 +26,10 @@ ;; 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))