[Cuis-dev] How to make a morph modal?
Hernan Wilkinson
hernan.wilkinson at 10pines.com
Tue Feb 15 14:01:24 PST 2022
Hi Hilaire,
sadly I'm not an expert in Morph and I do not have time now to look at it.
I think your idea will work, but for sure Juan's opinion is the most
important in this case.
Cheers!
Hernan.
On Tue, Feb 15, 2022 at 5:59 PM Hilaire Fernandes via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> I think I will borrow the behavior of the menu morph and apply it to the
> pluggable list of morphs.
>
> Not sure if it can be generalized
> Le 15/02/2022 à 17:56, Luciano Notarfrancesco a écrit :
>
> One way to do it is to use a transparent morph covering all the world and
> make it handle mouse down events, and close the dialog on mouse down. I
> thought about doing something like that for all dialogs. For example for
> the “find class” dialog (alt-f in a browser), because closing it is awkward
> (you have to put the mouse pointer over the text input to make it get the
> keyboard focus and then press esc). Perhaps it would be better if modal
> dialogs kept always the keyboard focus until closed. Or maybe we should
> avoid modal dialogs completely and find other ways to do what they do. Not
> sure what’s the best solution, but I think this something worth thinking
> and discussing together.
>
> --
> GNU Dr. Geohttp://drgeo.euhttp://blog.drgeo.eu
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
--
<https://10pines.com/>Hernán WilkinsonSoftware Developer & Coach
Alem 896, Floor 6, Buenos Aires, Argentina
+54 11 6091 3125
@HernanWilkinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220215/d18eea3e/attachment.htm>
More information about the Cuis-dev
mailing list