[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scrolling-view & clip regions
- To: email@example.com (Jeffrey B Kane)
- Subject: Re: scrolling-view & clip regions
- From: cfry@MIT.EDU (Christopher Fry)
- Date: Fri, 04 Dec 92 15:36:36 EST
- Cc: firstname.lastname@example.org
I was having problems with scrolling windows just last night.
I'm guesing you're problem is that you must add the subview
NOT to the scrolling window itself, but to its
Thus change your code:
:view-subviews (list (make-instance 'TSquare-View
:view-size #@(400 200))))
(setq ts1 (make-instance 'TScrolling-Window
(add-subviews (ccl::my-scroller ts1)
:view-size #@(400 200)))
Scrolling windows are tricky. I'd like to see half a
chapter written about them with lots of examples.
I know there's example code files but I'd still like to see more,
perhaps a generic scrolling view not associated with a
fred-dialog-item or a window.
What is field-size and how is it related to view-size?
Is it something every view has?