Closed saufesma closed 5 years ago
Hey, this issue is fixed here: https://github.com/McCLIM/McCLIM/commit/4c9a8a860fbbb47ddcf20ec36ad2ea7b8f00d3dd, please pull the newest McCLiM code. sorry for the wait.
Hi Danial,
Time is not an issue. How to update McCLIM with quicklisp?
On Wed, Dec 19, 2018 at 4:22 AM Daniel Kochmanski notifications@github.com wrote:
Closed #123 https://github.com/sharplispers/clx/issues/123.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sharplispers/clx/issues/123#event-2035132782, or mute the thread https://github.com/notifications/unsubscribe-auth/AreTbg15hOV6W9oJIqEWmdvOlUCWzSrxks5u6gVhgaJpZM4ZAMQu .
you need to wait for the next quicklisp release (it is not there yet), then (ql:update-all-dists)
Also you need to add one more correction to your code:
instead of (make-pane 'hello-world-pane)
make it (make-pane 'hello-world-pane :width 200 :height 200)
. otherwise you'll encounter another problem.
Thank you.
On Wed, Dec 19, 2018 at 9:40 AM Daniel Kochmanski notifications@github.com wrote:
you need to wait for the next quicklisp release (it is not there yet), then (ql:update-all-dists)
Also you need to add one more correction to your code: instead of (make-pane 'hello-world-pane) make it (make-pane 'hello-world-pane :width 200 :height 200). otherwise you'll encounter another problem.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sharplispers/clx/issues/123#issuecomment-448618666, or mute the thread https://github.com/notifications/unsubscribe-auth/AreTbhnL6iGSxjQdUY_k4m3_c3HoW1bZks5u6k_kgaJpZM4ZAMQu .
When I try the following code
;;;;====McCLIM Guided Tour=========== (in-package :common-lisp-user)
(defpackage "HELLO" (:use :clim :clim-lisp) (:export "HELLO-MAIN"))
(in-package :hello)
(define-application-frame hello-world () ((greeting :initform "Hello World" :accessor greeting)) (:pane (make-pane 'hello-world-pane)))
(defclass hello-world-pane (clim-stream-pane) ())
;;; Behavior defined by the Handle Repaint Protocol (defmethod handle-repaint ((pane hello-world-pane) region) (let ((w (bounding-rectangle-width pane)) (h (bounding-rectangle-height pane))) ;; Blanc the pane out (draw-rectangle pane 0 0 w h :filled t :ink (pane-background pane)) ;; Draw greeting in center of pane (draw-text pane (greeting application-frame) (floor w 2) (floor h 2) :align-x :center :align-y :center)))
(defun hello-main () (run-frame-top-level (make-application-frame 'hello-world)))
I have this output There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION CLIM:IDENTITY-TRANSFORMATION-P (2)> when called with arguments (NIL). [Condition of type SIMPLE-ERROR] May you explain me what is going on.