teksturepako
12/03/2024, 6:23 PMDecoratedWindowScope
to a variable and then use it outside of the DecoratedWindow
.
var windowScope: DecoratedWindowScope? by remember { mutableStateOf(null) }
DecoratedWindow(
...
) {
windowScope = this
...
windowScope?.window?.placement = windowData.placement
windowScope?.window?.isMinimized = windowData.isMinimized