MNU when using TextEntryDialogWindow
Hi all, I want to use a TextEntryDialogWindow, so I tried to get it working, but get a MNU #descent (in pharo 10505) on the following line. (TextEntryDialogWindow new text: 'Enter some text please') open I suppose I am doing it wrong, how do I do it right? -- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
you should use UIManager: UIManager default request: 'Enter your text' Cheers, Alexandre On 26 Jan 2010, at 15:59, Johan Fabry wrote:
Hi all,
I want to use a TextEntryDialogWindow, so I tried to get it working, but get a MNU #descent (in pharo 10505) on the following line.
(TextEntryDialogWindow new text: 'Enter some text please') open
I suppose I am doing it wrong, how do I do it right?
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Cool, thanks! On 26 Jan 2010, at 16:12, Alexandre Bergel wrote:
you should use UIManager:
UIManager default request: 'Enter your text'
Cheers, Alexandre
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Look at UIManager (facade to make your code portable accros UI stuff) you have a lot of predefined behavior. On Jan 26, 2010, at 9:04 PM, Johan Fabry wrote:
Cool, thanks!
On 26 Jan 2010, at 16:12, Alexandre Bergel wrote:
you should use UIManager:
UIManager default request: 'Enter your text'
Cheers, Alexandre
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
participants (3)
-
Alexandre Bergel -
Johan Fabry -
Stéphane Ducasse