I'm working an a small app that will support some text editing, searching, and cataloging. (I'm using 3.9 on Windows).
My first question is about GUI toolkits. Should I use Morphic or Tweak? I know Morphic is (right now) the default Squeak GUI, and that it comes with the standard Squeak image while Tweak does not, but I've read (can't remember where) that Tweak is going to replace Morphic eventually as the standard UI. I don't really need anything fancy, just widgets to handle text input/display, images, tables, buttons, etc. Which toolkit would be most practical/appropriate for something like this?
My second question is about application startup and shutdown. I'd like for this app to startup when the main class is sent a single message (e.g., #startup), and have it terminate when the user closes it, or alternately, when the user closes Squeak; that is, if they save & exit from Squeak without terminating the app first, I want the app to terminate anyway, for the objects to be destroyed (reclaimed, garbage collected, what have you) and not saved to the image file. How do I ensure its objects are released when Squeak is terminated, and not saved to disk?
Thanks.
My first question is about GUI toolkits. Should I use Morphic or Tweak? I know Morphic is (right now) the default Squeak GUI, and that it comes with the standard Squeak image while Tweak does not, but I've read (can't remember where) that Tweak is going to replace Morphic eventually as the standard UI.
It would be cool but it doesn't seem to be planned yet...........
I don't really need anything fancy, just widgets to handle text input/display, images, >tables, buttons, etc. Which toolkit would be most practical/appropriate for something like >this?
Seaside ?? :)
My second question is about application startup and shutdown. I'd like for this app to startup when the main class is sent a single message (e.g., #startup), and have it terminate when the user closes it, or alternately, when the user closes Squeak; that is, if they save & exit from Squeak without terminating the app first, I want the app to terminate anyway, for the objects to be destroyed (reclaimed, garbage collected, what have you) and not saved to the image file. How do I ensure its objects are released when Squeak is terminated, and not saved to disk?
In the class Smalltalk, you'll find #addToStartupList: and #addToShutdownList: .
hope this help
Cédrick
ps: one very convenient tool is the method finder (or method name) combined with intention revealing selectors. You can use it with a text selected and pressing (ALT Shift w). For instance, here, looking for start or better addToStart ...
From: cdrick cdrick65@gmail.com Reply-To: "A friendly place to get answers to even the most basic questionsabout Squeak." beginners@lists.squeakfoundation.org To: "A friendly place to get answers to even the most basic questions aboutSqueak." beginners@lists.squeakfoundation.org Subject: Re: [Newbies] Two questions: which UI toolkit to use,and how to force an application's objects to be destroyed when Squeakterminates? Date: Sat, 13 Jan 2007 10:09:52 +0100
My first question is about GUI toolkits. Should I use Morphic or Tweak? I know Morphic is (right now) the default Squeak GUI, and that it comes with the standard Squeak image while Tweak does not, but I've read (can't remember where) that Tweak is going to replace Morphic eventually as the standard UI.
It would be cool but it doesn't seem to be planned yet...........
I'm also in the same boat. I do not want to squander my limited time using Morphic if Tweak is going to replace it. Then there is Julian's plan to improve Morphic. So what's the direction?
Larry Trutter
_________________________________________________________________ Your Hotmail address already works to sign into Windows Live Messenger! Get it now http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get...
Larry Trutter puso en su mail :
I'm also in the same boat. I do not want to squander my limited time using Morphic if Tweak is going to replace it. Then there is Julian's plan to improve Morphic. So what's the direction?
Larry Trutter
So, why you buy a car, TV, whatever if next year a new model comes ?
Morphic is here and with plans for a long live, don't believe Morphic haters.
Off course you could use Tweak, Sophie, Scratch, or some software what do not have Smalltalk roots.
Edgar
__________________________________________________ Pregunt�. Respond�. Descubr�. Todo lo que quer�as saber, y lo que ni imaginabas, est� en Yahoo! Respuestas (Beta). �Probalo ya! http://www.yahoo.com.ar/respuestas
From: "Edgar J. De Cleene" edgardec2001@yahoo.com.ar Reply-To: "A friendly place to get answers to even the most basic questionsabout Squeak." beginners@lists.squeakfoundation.org To: "A friendly place to get answers to even the most basic questions aboutSqueak." beginners@lists.squeakfoundation.org Subject: Re: [Newbies] Two questions: which UI toolkit to use, and how toforce an applica Date: Sun, 14 Jan 2007 11:33:09 -0300
Larry Trutter puso en su mail :
I'm also in the same boat. I do not want to squander my limited time
using
Morphic if Tweak is going to replace it. Then there is Julian's plan to improve Morphic. So what's the direction?
Larry Trutter
So, why you buy a car, TV, whatever if next year a new model comes ?
Morphic is here and with plans for a long live, don't believe Morphic haters.
Off course you could use Tweak, Sophie, Scratch, or some software what do not have Smalltalk roots.
So that situation could be somewhat similar to Linux desktop choices, ie. KDE vs Gnome vs Xfce. Cool, that's good to know.
thanks, Larry Trutter
_________________________________________________________________ Type your favorite song. Get a customized station. Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001
beginners@lists.squeakfoundation.org