# androidx.compose.ui.window

Common/AllAndroid/JVM

## Interfaces

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/DialogWindowProvider` | Provides the underlying window of a dialog. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/PopupPositionProvider` | Calculates the position of a `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/Popup.composable#Popup(androidx.compose.ui.Alignment,androidx.compose.ui.unit.IntOffset,kotlin.Function0,androidx.compose.ui.window.PopupProperties,kotlin.Function0)` on screen. | Cmn |

## Classes

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/DialogProperties` | Properties used to customize the behavior of a `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/Dialog.composable#Dialog(kotlin.Function0,androidx.compose.ui.window.DialogProperties,kotlin.Function0)`. | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/PopupProperties` | Properties used to customize the behavior of a `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/Popup.composable#Popup(androidx.compose.ui.Alignment,androidx.compose.ui.unit.IntOffset,kotlin.Function0,androidx.compose.ui.window.PopupProperties,kotlin.Function0)`. | Cmn android |

## Enums

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/SecureFlagPolicy` | Policy on setting `https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE` on a window. | android |

## Composables

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/Dialog.composable` | Opens a dialog with the given content. | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/window/Popup.composable` | Opens a popup with the given content. | Cmn android |

## Top-level functions summary

|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `@https://javadoc.io/doc/org.jetbrains/annotations/latest/org/jetbrains/annotations/TestOnly.html https://developer.android.com/reference/kotlin/androidx/compose/ui/window/package-summary#isPopupLayout(android.view.View,kotlin.String)(view: https://developer.android.com/reference/android/view/View.html, testTag: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` Returns whether the given view is an underlying decor view of a popup. | android |

## Top-level functions

### isPopupLayout

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/window/AndroidPopup.android.kt+function:isPopupLayout)

```
@TestOnly
fun isPopupLayout(view: View, testTag: String? = null): Boolean
```

Returns whether the given view is an underlying decor view of a popup. If the given testTag is supplied it also verifies that the popup has such tag assigned.

| Parameters |
|---|---|
| `view: https://developer.android.com/reference/android/view/View.html` | View to verify. |
| `testTag: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | If provided, tests that the given tag in defined on the popup. |