I've never found a straight forward "this is how you make a simple UI" tutorial for Squeak. Does anyone have a pointer? The sort of thing I am looking for would explain how to build a UI with a couple of input fields, a couple of buttons, and a display field for output.
Hello Troy,
TB> I've never found a straight forward "this is how you make a simple TB> UI" tutorial for Squeak. Does anyone have a pointer? The sort of TB> thing I am looking for would explain how to build a UI with a couple TB> of input fields, a couple of buttons, and a display field for output.
What helped me a lot was the PluggableMorphsDemo. It's a Squeak project on PluggableListMorph, PluggableButtonMorph and PluggableListMorph.
I forgot where I got it from, so I attached it, after checking it works in 3.8.
Next step was learning how to build a UI programmatically. I learned from TestRunner openAsMorph. This was 3.6 time. All was one linear method. Nowadays its much better factored and IMHO much less comprehensible.
I suggest you get that 3.6 image, otherwise drop me a mail and I send you a fileout of that method to look at in your favourite text editor.
Cheers,
Herbert mailto:herbertkoenig@gmx.net
Thanks, I think I'll drill into TestRunner and break out my old Squeak book as another person suggested. I'm not a ST newbie, just a Squeak newbie, and it seems that UIs are different in all dialects :) I pretty much want to ignore MVC and look into morphic.
On May 24, 2006, at 1:08 AM, Herbert König wrote:
Hello Troy,
TB> I've never found a straight forward "this is how you make a simple TB> UI" tutorial for Squeak. Does anyone have a pointer? The sort of TB> thing I am looking for would explain how to build a UI with a couple TB> of input fields, a couple of buttons, and a display field for output.
What helped me a lot was the PluggableMorphsDemo. It's a Squeak project on PluggableListMorph, PluggableButtonMorph and PluggableListMorph.
I forgot where I got it from, so I attached it, after checking it works in 3.8.
Next step was learning how to build a UI programmatically. I learned from TestRunner openAsMorph. This was 3.6 time. All was one linear method. Nowadays its much better factored and IMHO much less comprehensible.
I suggest you get that 3.6 image, otherwise drop me a mail and I send you a fileout of that method to look at in your favourite text editor.
Cheers,
Herbert mailto:herbertkoenig@gmx.net <PluggableMorphsDemo.pr> _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Il giorno mer, 24/05/2006 alle 09.29 -0400, Troy Brumley ha scritto:
Thanks, I think I'll drill into TestRunner and break out my old Squeak book as another person suggested. I'm not a ST newbie, just a Squeak newbie, and it seems that UIs are different in all dialects :) I pretty much want to ignore MVC and look into morphic.
Hi Troy,
other options for building UIs in Squeak include:
- wxSqueak (a wrapper of the wxWidgets library, http://www.wxsqueak.org ); - Tweak (a pure-Squeak widget framework used in Croquet, http://tweak.impara.de ).
Giovanni
beginners@lists.squeakfoundation.org