[prev in list] [next in list] [prev in thread] [next in thread]
List: squeak-beginners
Subject: [Newbies] Fwd: Prompter Class
From: phiroc () free ! fr
Date: 2007-08-22 13:02:21
Message-ID: 1187787741.46cc33ddf36f8 () imp ! free ! fr
[Download RAW message or body]
Hello,
I found the answer to my own question: the class is called FillInTheBlank.
----- Forwarded message from phiroc@free.fr -----
Date: Wed, 22 Aug 2007 14:43:09 +0200
From: phiroc@free.fr
Reply-To: phiroc@free.fr
Subject: Prompter Class
To: beginners@lists.squeakfoundation.org
Hello,
I am currently going through the Dispatcher Tutorial in Dan Shafer and Dean A.
Ritz's "Practical SmallTalk".
On page 32, they suggest creating a Prompter in a Workspace, as follows:
| anotherItem |
anotherItem := Prompter prompt:
'Something to prioritize? '
default: '' .
^ anotherItem
The only problem is that the Prompter Class does not exist in Squeak or bears a
different name. Could someone please tell me what Squeak's equivalent to the
Smalltalk/V Prompter class is?
Here's the authors' definition of the Smalltalk/V Prompter Class:
"A Smalltalk/V Prompter is a small window with one TextPane that poses a
question to the user in its top line, or header area, and allows the user to
type in an answer in the bottom".
Many thanks.
phiroc
----- End forwarded message -----
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic