WindowsMapBuilder
Functions
Link copied to clipboard
fun window(route: String, windowFactory: @Composable (content: @Composable FrameWindowScope.() -> Unit) -> Unit, content: @Composable FrameWindowScope.() -> Unit)
Alternative implementation of window that does not pass any arguments.
fun <Args> window(route: String, windowFactory: @Composable (content: @Composable FrameWindowScope.() -> Unit) -> Unit, content: @Composable FrameWindowScope.(args: Args?) -> Unit)
Declare window content for route and add it to underlying windowsMap. The windowsMap will be used to navigate between the windows.
Alternative implementation of window that does not pass any arguments and that provides Window with basic setup. Window title is set to title parameter and onCloseRequest
is set to close this window.