Prompter Class

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

Prompter Class

rp-2
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
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Prompter Class

Jerome Peace
[Newbies] Prompter Class

Try:
 
FillInTheBlank request: 'Something to prioritize? '

Browse class for more details.

Hth.

Yours in service and curiosity, --Jerome Peace

***
>
>phiroc at free.fr phiroc at free.fr
>Wed Aug 22 12:43:09 UTC 2007
>
>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
>
***



       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners