WindowScope


Known direct subclasses
DialogWindowScope

Receiver scope which is used by androidx.compose.ui.window.Dialog.

FrameWindowScope

Receiver scope which is used by androidx.compose.ui.window.Window.


Receiver scope which is used by androidx.compose.ui.window.Window and androidx.compose.ui.window.Dialog.

Summary

Public properties

Window

Window that was created inside androidx.compose.ui.window.Window or androidx.compose.ui.window.Dialog

android

Extension functions

Unit
@Composable
WindowScope.WindowDraggableArea(
    modifier: Modifier,
    content: @Composable () -> Unit
)

WindowDraggableArea is a component that allows you to drag the window using the mouse.

android

Public properties

Extension functions

WindowDraggableArea

@Composable
fun WindowScope.WindowDraggableArea(
    modifier: Modifier = Modifier,
    content: @Composable () -> Unit = {}
): Unit

WindowDraggableArea is a component that allows you to drag the window using the mouse.

Parameters
modifier: Modifier = Modifier

The modifier to be applied to the layout.

content: @Composable () -> Unit = {}

The content lambda.