[Pharo-project] modal windows and unit tests

Alexandre Bergel alexandre at bergel.eu
Wed Oct 13 09:03:48 EDT 2010


Ok, thanks Alex. I turned the usage to StandardWindow for UIManager. 
I had to do exclude from the test the action that uses StandardWindow :-(

Thanks to all you!

Cheers,
Alexandre


On 13 Oct 2010, at 09:39, Alexander Lazarević wrote:

> Indeed this raises no Notification of any kind. In that case I would say replace
> 
> StandardWindow new message: 'No Cycles'.
> 
> with
> 
> UIManager default inform: 'No Cycles'.
> 
> if you can.
> 
> I guess the first expression is also just an example? Because this
> just instantiates a StandardWindow to have a modal Dialog on top of
> that invisible window.
> From what I've seen in the system I would say that latter expression
> will make the Dialog modal to the active window. If it is the case
> that the Dialog should be modal to a non active window I have to pass
> for now! :)
> 
> Alex
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.









More information about the Pharo-dev mailing list