Created
July 28, 2020 13:20
-
-
Save cioccarellia/6537291a192215b79e4e8b6f638216d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val window = ApplicationWindow() | |
window.content.loadImage("whatever.png") | |
window.header.buttons.add("X") | |
window.header.buttons.add("_") | |
window.header.buttons.add("□") | |
window.onWindowClose = { | |
println("Bye bye") | |
} | |
window.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment