Skip to content

Instantly share code, notes, and snippets.

@aalmiray
Created January 1, 2010 04:17
Show Gist options
  • Save aalmiray/267038 to your computer and use it in GitHub Desktop.
Save aalmiray/267038 to your computer and use it in GitHub Desktop.
application(title: "Gtk Window", ) {
vbox(spacing: 3) {
label(label: "Go ahead:\n Make my day!")
button(label: "Press me!", onClicked: {println "I was clicked: ${it.label}"})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment