applicationsArea

@Composable
fun applicationsArea(offlineApps: List<Application>, activeApps: List<Application>, openAppWithStartupScript: (Application) -> Unit = {}, onApplicationClicked: (Application) -> Unit = {})

This function displays the applications area.

Parameters

offlineApps

The list of offline applications.

activeApps

The list of active applications.

openAppWithStartupScript

A function to be called when an application is opened with a startup script.

onApplicationClicked

A function to be called when an application is clicked.

Example usage:

applicationsArea(
offlineApps = listOf(Application()),
activeApps = listOf(Application()),
openAppWithStartupScript = { app -> println("Opening app with startup script: ${app.name}") },
onApplicationClicked = { app -> println("Clicked on app: ${app.name}") }
)