Created
August 17, 2008 03:53
-
-
Save nakajima/5786 to your computer and use it in GitHub Desktop.
undefined
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
# My first shoes app | |
Shoes.app(:width => 250, :height => 100) do | |
background gradient('#000', '#222') | |
flow(:margin => 10) do | |
@e = edit_line "My name is Judge!", :width => 210 | |
flow(:margin_top => 12) do | |
button("TELL") { alert @e.text } | |
button("QUIT") { exit } | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment