Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (14 sloc) 0.528 kB

No. 7: link

We have three different ways to inlcude hyperlinks in our Shoes app:

# sample8.rb
Shoes.app :width => 250, :height => 60 do
  para link('RubyLearning.org'){visit "http://www.rubylearning.org/"}
  para link('Google', :click => "http://google.com")
  image '../images/loogink.png', :click => "http://shoes.heroku.com/"
end

sample8.png

sample8.png

Policeman

The sample8.rb worked well with Shoes-0.r1263

Jump to Line
Something went wrong with that request. Please try again.