Fwd: Prompter Class

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

Fwd: Prompter Class

rp-2
Hello,

I found the answer to my own question: the class is called FillInTheBlank.

----- Forwarded message from [hidden email] -----
    Date: Wed, 22 Aug 2007 14:43:09 +0200
    From: [hidden email]
Reply-To: [hidden email]
 Subject: Prompter Class
      To: [hidden email]

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
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners