Two questions: which UI toolkit to use, and how to force an application's objects to be destroyed when Squeak terminates?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Two questions: which UI toolkit to use, and how to force an application's objects to be destroyed when Squeak terminates?

Jay Gould
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.

--
Low Prices, Wide Selection of Gas Masks
Everyday low price guarantee. We offer special police discounts and an extremely wide selection of gas masks, filters and huge selection of preparedness gear.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=24e08df2353d2e6cb9bae3a0e3c8c61e

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Two questions: which UI toolkit to use, and how to force an application's objects to be destroyed when Squeak terminates?

cedreek
> 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 ...

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Two questions: which UI toolkit to use, and how to force an applica

Larry Trutter
>From: cdrick <[hidden email]>
>Reply-To: "A friendly place to get answers to even the most basic
>questionsabout Squeak." <[hidden email]>
>To: "A friendly place to get answers to even the most basic questions
>aboutSqueak." <[hidden email]>
>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.live.com/messenger/overview

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Two questions: which UI toolkit to use, and how to force an applica

Edgar J. De Cleene
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 

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Two questions: which UI toolkit to use, and how toforce an applica

Larry Trutter
>From: "Edgar J. De Cleene" <[hidden email]>
>Reply-To: "A friendly place to get answers to even the most basic
>questionsabout Squeak." <[hidden email]>
>To: "A friendly place to get answers to even the most basic questions
>aboutSqueak." <[hidden email]>
>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 mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners