Sha256: f3e269fd65add4cade79462364521b7091901821696c559725912b5b9f74b3b7

Contents?: true

Size: 755 Bytes

Versions: 6

Compression:

Stored size: 755 Bytes

Contents

require 'purple_shoes'

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

  flow width: 0.4 do
    image File.join(DIR, '../static/purple_shoes-icon.png') do
      alert "You're soooo quick!"
    end
  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

6 entries across 6 versions & 1 rubygems

Version Path
purple_shoes-0.7.166 samples/sample18.rb
purple_shoes-0.6.153 samples/sample18.rb
purple_shoes-0.5.149 samples/sample18.rb
purple_shoes-0.0.126 samples/sample18.rb
purple_shoes-0.0.115 samples/sample18.rb
purple_shoes-0.0.101 samples/sample18.rb