Sha256: 2336d07fb09f4e96634385351836b71f3a2be23e1d44d93243b5fb79362f951a

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

Shoes.app do
  button 'go' do
    p = para 0, left: 0, top: 30
    a = every do |i|
      i += 1
      j = i*20
      p.text = i.to_s
      para i.to_s, left: j*2, top: 30
      oval 100+j, 100+j, 10, 10
      a.remove if i > 8
    end

    timer 10 do
      p.text = 'hello'
      para 'shoes 4', left: 0, top: 200
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoes-4.0.0.pre2 samples/sample27.rb
shoes-4.0.0.pre1 samples/sample27.rb