You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
ÖLAB 03e1de06ae Update 'README.md' 9 months ago
.gradle ::: 10 months ago
.idea ::: 10 months ago
build ::: 10 months ago
gradle/wrapper ::: 10 months ago
src remove macos metadata 10 months ago
.gitignore remove macos metadata 10 months ago
LICENSE Initial commit 10 months ago
README.md Update 'README.md' 9 months ago
build.gradle.kts ::: 10 months ago
gradle.properties ::: 10 months ago
settings.gradle.kts ::: 10 months ago
test.png ::: 10 months ago

README.md

OppenPine

Kotlin Native ui GTK phone experiments - I have no idea what I'm doing. There is the beginnings of a nice Kotlin DSL for building native GTK applications that should run on the Pine Phone:

val application = Application("oppen.pine")
application.onActivate(staticCFunction { app, _ ->
        app?.window{
            title = "Pine Phone"
            setDefaultSize(360, 720)

            verticalContainer(10){
                image("test.png")
                label("Oppen Digital")
                label("Hello DSL")
                label("oppen.digital")
                button("click me"){
                    println("clicked!")
                }
            }
        }
})

References