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.
 

1.1 KiB

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