https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
r

Radoslaw Juszczyk

08/29/2022, 7:34 AM
Hey guys, how do I make a Window modal (with a Window below being not clickable/focusable)? With JavaFX it would be something like that:
Copy code
newWindow.initModality(Modality.WINDOW_MODAL)
newWindow.initOwner(parentStage)
ok the answer is to use
androidx.compose.ui.window.Dialog
4 Views