[mcclim-devel] interactor-pane scrolls off the bottom

If you say (define-application-frame foo () () (:pane (make-pane 'interactor-pane :width 400 :height 300))) (clim:run-frame-top-level (clim:make-application-frame 'foo)) You get a window. Hit RET a few times in that window, and the prompt will scroll off the bottom of it, never to return. Is it meant to work that way? -- -Tim

On Saturday, April 30, 2005, at 10:45 AM, Tim Daly Jr. wrote:
If you say
(define-application-frame foo () () (:pane (make-pane 'interactor-pane :width 400 :height 300)))
(clim:run-frame-top-level (clim:make-application-frame 'foo))
You get a window. Hit RET a few times in that window, and the prompt will scroll off the bottom of it, never to return. Is it meant to work that way?
Not sure, but quite possibly. Changing the :pane form to (:pane (scrolling () (make-pane 'interactor-pane :width 400 :height 300))) fixes it for me. -Duncan
-- -Tim
_______________________________________________ mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel

On an additional note... On Saturday, April 30, 2005, at 10:52 AM, Duncan Rose wrote:
On Saturday, April 30, 2005, at 10:45 AM, Tim Daly Jr. wrote:
If you say
(define-application-frame foo () () (:pane (make-pane 'interactor-pane :width 400 :height 300)))
(define-application-frame foo () () (:panes (int :interactor :width 400 :height 400)) (:layouts (default int))) Provides scroll bars too. I can't see anything in the spec that indicates the behaviour of the :pane form should be different to the behaviour of :panes + :layouts in combination but it's more than possible I missed something (I usually do). -Duncan
(clim:run-frame-top-level (clim:make-application-frame 'foo))
You get a window. Hit RET a few times in that window, and the prompt will scroll off the bottom of it, never to return. Is it meant to work that way?
Not sure, but quite possibly.
Changing the :pane form to
(:pane (scrolling () (make-pane 'interactor-pane :width 400 :height 300)))
fixes it for me.
-Duncan
-- -Tim
_______________________________________________ mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
_______________________________________________ mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel

Doh. Think / read before responding. In the spec, section 29.4.3 we see that CLIM "provides a convenient form for creating composite panes that include the CLIM stream pane, scroll bars, labels, and so forth". I conclude from that that somewhere the spec allows for the creation of stream panes that don't have all this gubbins. Going back to your first example, if you do (define-application-frame foo () () (:pane (make-clim-stream-pane :type 'interactor-pane :width 400 :height 300))) that works too. -Duncan ps. last post on this from me, promise. :-/ On Saturday, April 30, 2005, at 11:01 AM, Duncan Rose wrote:
On an additional note...
On Saturday, April 30, 2005, at 10:52 AM, Duncan Rose wrote:
On Saturday, April 30, 2005, at 10:45 AM, Tim Daly Jr. wrote:
If you say
(define-application-frame foo () () (:pane (make-pane 'interactor-pane :width 400 :height 300)))
(define-application-frame foo () () (:panes (int :interactor :width 400 :height 400)) (:layouts (default int)))
Provides scroll bars too. I can't see anything in the spec that indicates the behaviour of the :pane form should be different to the behaviour of :panes + :layouts in combination but it's more than possible I missed something (I usually do).
-Duncan
(clim:run-frame-top-level (clim:make-application-frame 'foo))
You get a window. Hit RET a few times in that window, and the prompt will scroll off the bottom of it, never to return. Is it meant to work that way?
Not sure, but quite possibly.
Changing the :pane form to
(:pane (scrolling () (make-pane 'interactor-pane :width 400 :height 300)))
fixes it for me.
-Duncan
-- -Tim
_______________________________________________ mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
_______________________________________________ mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel

Duncan Rose <duncan@robotcat.demon.co.uk> writes:
Doh. Think / read before responding. In the spec, section 29.4.3 we see that CLIM "provides a convenient form for creating composite panes that include the CLIM stream pane, scroll bars, labels, and so forth". I conclude from that that somewhere the spec allows for the creation of stream panes that don't have all this gubbins.
Going back to your first example, if you do
(define-application-frame foo () () (:pane (make-clim-stream-pane :type 'interactor-pane :width 400 :height 300)))
that works too.
-Duncan
ps. last post on this from me, promise. :-/
Hey, thanks a lot for looking at it! :) From the sounds of it, this leans more towards feature than bug. I asked because this feature shows up in closure's interactor pane. I disabled the feature there by saying ":scroll-bars t". There was just a long thread here about scroll bars, but all subtlety is lost on me. -- -Tim

hi, does anyone have clim 2 spec in pdf format? if so, can you send it to me? as i want to print it out for reference.. thanks alot :D Jason -- www.programer.name - my own personal blog : ) The mind is its own place, and in itself can make a heav'n of hell, a hell of heav'n. What matter where, if I be still the same, and what I should be, all but less than he whom thunder hath made greater? Here at least we shall be free; th' Almighty hath not built here for his envy, will not drive us hence: Here we may reign secure, and in my choice to reign is worth ambition though in hell: Better to reign in hell, than serve in heav'n. --- John Milton, in his epic poem Paradise Lost

Jason Wang <randomtalk@gmail.com> writes:
hi, does anyone have clim 2 spec in pdf format? if so, can you send it to me? as i want to print it out for reference.. thanks alot :D
The CLIM 2 specification is available in PostScript format here: ftp://ftp.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/gui/clim/papers/0.html You can either directly print it, or convert it to PDF and print the result. Paolo -- Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log
participants (4)
-
Duncan Rose
-
Jason Wang
-
Paolo Amoroso
-
tim@tenkan.org