I am developing techniques for building useful little apps from morphic building blocks, typically with a BookMorph or StackMorph as the foundation, and with a minimum of old fashioned programing. My goal is to teach this to high school students. One basic structure I want is a browser, like our System Browser. Basically a list box on the left and one or more text fields to the right; clicking on an entry in the list box displays the corresponding data.
So far I have not found a useful list box morph. The EToyHierarchicalText morph comes close, but entry editing is too minimal. The LazyListMorph nevers appears. Is there a preferred or typical way this is done?
Have you looked at Maui?
http://wiki.squeak.org/squeak/3836
On Fri, Mar 26, 2010 at 5:42 AM, Gary Dunn osp@aloha.com wrote:
I am developing techniques for building useful little apps from morphic building blocks, typically with a BookMorph or StackMorph as the foundation, and with a minimum of old fashioned programing. My goal is to teach this to high school students. One basic structure I want is a browser, like our System Browser. Basically a list box on the left and one or more text fields to the right; clicking on an entry in the list box displays the corresponding data.
So far I have not found a useful list box morph. The EToyHierarchicalText morph comes close, but entry editing is too minimal. The LazyListMorph nevers appears. Is there a preferred or typical way this is done?
-- Gary Dunn, Honolulu osp@aloha.com http://openslate.net/ http://e9erust.blogspot.com/ Sent from Slate001
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Hi Gary,
--- On Fri, 3/26/10, Gary Dunn osp@aloha.com wrote:
From: Gary Dunn osp@aloha.com Subject: [Newbies] Best list box morph To: "Squeak Beginners List" beginners@lists.squeakfoundation.org Date: Friday, March 26, 2010, 6:42 AM I am developing techniques for building useful little apps from morphic building blocks, typically with a BookMorph or StackMorph as the foundation, and with a minimum of old fashioned programing. My goal is to teach this to high school students. One basic structure I want is a browser, like our System Browser. Basically a list box on the left and one or more text fields to the right; clicking on an entry in the list box displays the corresponding data.
So far I have not found a useful list box morph. The EToyHierarchicalText morph comes close, but entry editing is too minimal. The LazyListMorph nevers appears. Is there a preferred or typical way this is done?
Typically everything in squeak is atypical.
From your description it sounds like you are trying to mimic what a pdf reader does (or what a web page does) with a index table of contents in the left frame and the file contents or page in the right frame. Is that correct?
Assuming you could program it could you mock up the visuals for a page without worring about how it would work dynamically?
The other interesting thing to do is look at a simple browser and see how it works. Usually there is a window which has a model. Inside the window there are components such as pluggalbe lists and pluggable texts holders etc. Something, probably the model suggest how to layout the frames in the window. The various components communicate with each other by announcing changes and listening for update messages.
hth,
Yours in service and curiosity, --Jerome Peace
-- Gary Dunn, Honolulu osp@aloha.com http://openslate.net/ http://e9erust.blogspot.com/ Sent from Slate001
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org