;;; -*- Package: clim-user -*-
(in-package :clim-user)
;;; Lispworks CLIM displays a radio box. ;;; McCLIM throws No Primary Method for MAKE-PANE-1 ;;; with NIL as first argument.
(define-application-frame test-woag () () (:panes (p0 :application :display-function (lambda (f p) (with-output-as-gadget (p) (with-radio-box (:label "xxx" :type :some-of) :x :y))) :min-width 100 :min-height 100 )) (:layouts (default p0)))
(defun testme () (run-frame-top-level (make-application-frame 'test-woag)))
Hello
On Tue, Dec 20, 2005 at 12:15:42PM -0500, Paul Werkowski wrote:
;;; Lispworks CLIM displays a radio box. ;;; McCLIM throws No Primary Method for MAKE-PANE-1 ;;; with NIL as first argument.
(define-application-frame test-woag () [...] (with-output-as-gadget (p) [...]
There is a general problem regarding WITH-OUTPUT-AS-GADGET that is known for quite some time. Christopher Rhodes reported it on the 14th of July: http://common-lisp.net/pipermail/mcclim-devel/2005-July/004100.html And I've sent another bug report on August, the 26th, giving some more information that hopefully helps to narrow down the problem : http://common-lisp.net/pipermail/mcclim-devel/2005-August/004246.html
I would really like to see it working but I've not the time to fix it in the moment, even more as I would have to learn more about output records first.
Bye, Max
|There is a general problem regarding WITH-OUTPUT-AS-GADGET that is known |for quite some time. Christopher Rhodes reported it on the 14th of July: | http://common-lisp.net/pipermail/mcclim-devel/2005-July/004100.html |And I've sent another bug report on August, the 26th, giving some more |information that hopefully helps to narrow down the problem : | http://common-lisp.net/pipermail/mcclim-devel/2005-August/004246.html | |I would really like to see it working but I've not the time to fix it |in the moment, even more as I would have to learn more about output |records first.
Thanks for pointing that out. Maybe I will take a closer look at how all that stuff is supposed to work.
Paul
Our behavior is within the bounds of the spec:
http://www.stud.uni-karlsruhe.de/~unk6/clim-spec/29-2.html#_6495 http://www.stud.uni-karlsruhe.de/~unk6/clim-spec/29-2.html#_6487
However, perhaps we should emulate the lispworks behavior of not requiring the user to explicitly bind the realizer.
Christophe's bugs are unrelated (one involves failure to embed nested gadgets due to a problem in the order w-o-a-g initializes things, the other I never tracked down).
On 12/20/05, Paul Werkowski pw@snoopy.mv.com wrote:
;;; -*- Package: clim-user -*-
(in-package :clim-user)
;;; Lispworks CLIM displays a radio box. ;;; McCLIM throws No Primary Method for MAKE-PANE-1 ;;; with NIL as first argument.
(define-application-frame test-woag () () (:panes (p0 :application :display-function (lambda (f p) (with-output-as-gadget (p) (with-radio-box (:label "xxx" :type :some-of) :x :y))) :min-width 100 :min-height 100 )) (:layouts (default p0)))
(defun testme () (run-frame-top-level (make-application-frame 'test-woag)))
mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel