Is there a way to cancel the on dismiss request to a window? for example, when the user clicks the X in the window frame I would like to show a popup confirming the close in some circumstances. If the use clicks "no" on the popup it should cancel the dismiss request
d
Dominaezzz
06/19/2021, 5:57 PM
Are you using the new composable Window API?
g
gbaldeck
06/19/2021, 8:42 PM
No it's the legacy API. I haven't taken the time to move to the new one
gbaldeck
06/19/2021, 8:42 PM
Does the new API support this?
d
Dominaezzz
06/19/2021, 8:43 PM
It does indeed. You can override the onDismissRequest