[squeak-dev] Closing modal dialogs...

Eliot Miranda eliot.miranda at gmail.com
Tue Jan 14 02:00:14 UTC 2020


Hi Jakob,

> On Jan 13, 2020, at 11:24 AM, Jakob Reschke <forums.jakob at resfarm.de> wrote:
> 
> 
> Do I understand correctly that your simulation prompts you endlessly and you want a "power button" to shut it down?

Sort of.  I think Christoph is misunderstanding, thinking I want a button on the dialog.  I want to be able to close the root window at any time.

The root window contains the image of the simulation’s display bitmap, a transcript etc, and a pop up menu from which one can derive several other windows (processor, stack frame and object inspectors, etc).  If so chosen the simulator can run an image could gaining a REPL which prompts for an expression to evaluate, this is the modal dialog prompt.  When the root window is closed, all attendant inspectors and any debugger are closed also.  I would like to be able to close the root window by clicking its close button while the the modal dialogue is displaying to be able to shut down everything.  As it is I have to toggle the dialog into non-exclusivity before I can do so.  It’s mildly annoying (and new behaviour as of a few years ago).

> 
> 
> Eliot Miranda <eliot.miranda at gmail.com> schrieb am Fr., 10. Jan. 2020, 00:58:
>> Hi All,
>> 
>>     would it be easy to modify modal dialog box interaction to allow closing the "parent window" of a dialog while in the modal dialog?  In the VMSimulator I use a modal dialog to prompt the user for input to evaluate, to test the sim.  Often I simply want to stop after the first expression and so wish to diss,iss the entire simulation omg the second modal dialog.  Bit I'm always forced to select "don't be modal" before I can close the thing.  It;'s a little annoying.
>> _,,,^..^,,,_
>> best, Eliot
>> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200113/9890174d/attachment.html>


More information about the Squeak-dev mailing list