Sha256: 0dc489769db412638eade637ad08eb017f53568024239b4b251af5966a7ccec4

Contents?: true

Size: 347 Bytes

Versions: 12

Compression:

Stored size: 347 Bytes

Contents

require 'green_shoes'

Shoes.app do
  button 'go' do
    p = para 0, top: 30
    a = every do |i|
      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.stop if i > 8
    end

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
green_shoes-1.1.374 samples/sample27.rb
green_shoes-1.1.373 samples/sample27.rb
green_shoes-1.1.367 samples/sample27.rb
green_shoes-1.1.366 samples/sample27.rb
green_shoes-1.1.365 samples/sample27.rb
green_shoes-1.1.364 samples/sample27.rb
green_shoes-1.1.363 samples/sample27.rb
green_shoes-1.1.362 samples/sample27.rb
green_shoes-1.1.358 samples/sample27.rb
green_shoes-1.1.357 samples/sample27.rb
green_shoes-1.1.354 samples/sample27.rb
green_shoes-1.1.348 samples/sample27.rb