Making the Stages MODAL by using native modality functionality

Thiago Milczarek Sayão thiago.sayao at gmail.com
Thu Nov 2 13:21:09 UTC 2023


Hi,

On Linux, the current behavior of SetEnabled(true / false) does not work
very well.
Ideally it should use native MODALITY.

On GTK MODAL means APPLICATION_MODAL.

MODAL as in JavaFX would be archived by using Window groups:
https://docs.gtk.org/gtk3/ctor.WindowGroup.new.html

I would make this work, but I am unsure about Windows or MAC capabilities.
Would this be possible?

One approach is to move Modality to each platform Window implementation and
keep the way it is for MAC and Windows and use the platform

Thoughts?

-- Thiago.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231102/21141614/attachment.htm>


More information about the openjfx-dev mailing list