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-0.179.0 samples/sample18.rb
green_shoes-0.176.0 samples/sample18.rb
green_shoes-0.171.0 samples/sample18.rb
green_shoes-0.164.0 samples/sample18.rb
green_shoes-0.150.0 samples/sample18.rb
green_shoes-0.139.0 samples/sample18.rb
green_shoes-0.138.0 samples/sample18.rb