GUI question

squeak-dev at lists.squeakfoundation.org squeak-dev at lists.squeakfoundation.org
Wed Sep 18 10:11:41 UTC 2002


Roland Bertuli <Roland.Bertuli at sophia.inria.fr> wrote:
> Hi all
> 
> Anyone know how I may create a dialog window, a window with a text and
> ok button to close it (e.g. JDialog in Java).

Well, you could go about finding this like:

open (menu when clicking on background) -> method finder - > type in
"confirm" and press alt-s or enter -> messages listed -> click on
"confirm:" -> click on "PopUpMenu class confirm:" -> Aha, looks nice,
select code inside quotes and press alt-d -> Nice!

And looking on the other messages in the same category will let you find
#inform:, #notify: etc.
And looking at the other classes in the same category will let you find
the class FillInTheBlank which have class methods for entering simple
answers etc.

regards, Göran



More information about the Squeak-dev mailing list