ApplicationItem

@Composable
fun ApplicationItem(app: Application = Application(), onClick: () -> Unit = {}, openAppWithStartupScript: () -> Unit = {})

This function displays an application item.

Parameters

app

The application to be displayed.

onClick

A function to be called when the application is clicked.

openAppWithStartupScript

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

Example usage:

ApplicationItem(
app = Application(),
onClick = { println("Clicked on app") },
openAppWithStartupScript = { println("Opening app with startup script") }
)