glfwApplication

fun glfwApplication(content: @Composable ApplicationScope.() -> Unit)(source)

Starts a Compose GLFW application and runs until the application exits.

Windows are declared with Window inside the application composition. When a Window enters the composition, a native GLFW window is created; when it leaves, that window is closed.

Parameters

content

application-level composition.