Sha256: 383548f846fc911b6058336339a57db0e4990191edab35074b85257ffae60264

Contents?: true

Size: 742 Bytes

Versions: 27

Compression:

Stored size: 742 Bytes

Contents

require "../lib/green_shoes"

Shoes.app width: 700, height: 600 do
  title "Shoes is a ", link("tiny"){alert "Cool!"}, " graphics toolkit. "

  flow width: 0.4 do
    img = image '../static/gshoes-icon.png'
    img.click{alert "You're soooo quick!"}
  end

  flow width: 0.6 do
    tagline "It's simple and straightforward. ", 
      link("Shoes "){alert "Yay!"}, 
      "was born to be easy! ", 
      link("Shoes "){alert "Yay!"}, 
      "was born to be easy! ", 
      link("Shoes "){alert "Yay!"}, 
      "was born to be easy! ", 
      "Really, it was made for absolute beginners. "
  end

  subtitle link(strong em("There's ", fg(bg("really ", "really ", yellow), red), "nothing to it. ")){alert "Have fun!"}
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
green_shoes-1.0.337 samples/sample18.rb
green_shoes-1.0.331 samples/sample18.rb
green_shoes-1.0.322 samples/sample18.rb
green_shoes-1.0.320 samples/sample18.rb
green_shoes-1.0.309 samples/sample18.rb
green_shoes-1.0.303 samples/sample18.rb
green_shoes-1.0.282 samples/sample18.rb
green_shoes-1.0.273 samples/sample18.rb
green_shoes-0.263.0 samples/sample18.rb
green_shoes-0.255.0 samples/sample18.rb
green_shoes-0.243.0 samples/sample18.rb
green_shoes-0.233.0 samples/sample18.rb
green_shoes-0.227.0 samples/sample18.rb
green_shoes-0.226.0 samples/sample18.rb
green_shoes-0.221.0 samples/sample18.rb
green_shoes-0.214.0 samples/sample18.rb
green_shoes-0.207.0 samples/sample18.rb
green_shoes-0.201.0 samples/sample18.rb
green_shoes-0.198.0 samples/sample18.rb
green_shoes-0.189.0 samples/sample18.rb