chiark / gitweb /
Display Lisp implementation in main window
authorespen <espen>
Sun, 27 Feb 2005 19:15:07 +0000 (19:15 +0000)
committerespen <espen>
Sun, 27 Feb 2005 19:15:07 +0000 (19:15 +0000)
examples/testgtk.lisp

index 169e6bfe3eb77cfee6a0209c7c9bb69b34e391c3..fcd4ad8f82e986b51d002884fea024454aa6ad4a 100644 (file)
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: testgtk.lisp,v 1.22 2005/02/27 14:24:49 espen Exp $
+;; $Id: testgtk.lisp,v 1.23 2005/02/27 19:15:07 espen Exp $
 
 
 ;(use-package "GTK")
@@ -1775,6 +1775,13 @@ (defun create-main-window ()
      :child-args '(:expand nil)
      :child (list (make-instance 'label :label (gtk-version)) :fill nil)
      :child (list (make-instance 'label :label "clg CVS version") :fill nil)
+     :child (list (make-instance 'label                          
+                  :label #-cmu(format nil "~A (~A)" 
+                               (lisp-implementation-type)
+                               (lisp-implementation-version))
+                         ;; The version string in CMUCL is far too long
+                         #+cmu(lisp-implementation-type))
+                 :fill nil)
      :child (list scrolled-window :expand t)
      :child (make-instance 'h-separator)
      :child (make-instance 'v-box