adwApplication

fun adwApplication(appId: String?, args: Array<String>, flags: Set<ApplicationFlags> = setOf(ApplicationFlags.DEFAULT_FLAGS), content: @Composable ApplicationScope.() -> Unit)

This is the entry point of LibAdwaita applications.

This will start an application. ApplicationWindow can be added inside the content lambda.

Parameters

appId

the GTK application id. If not null, it must be valid, see Application.idIsValid.

args

the application arguments. Usually the same as the ones in your main. See Application.run.

flags

the flags used when creating the application. See ApplicationFlags.

content

the lambda where your application is defined. You can start by adding an ApplicationWindow.