Sha256: 93ba3b9d627391be0920825c51644f4229a8107ec5f1c5a0f40988fbd0fee383

Contents?: true

Size: 528 Bytes

Versions: 6

Compression:

Stored size: 528 Bytes

Contents

Shoes.app do
  stack do
    para "Generate 10 systray calls - 30 seconds appart."
    para "Press button to start and cover the app window with another app"
    ctr = 0;
    button "Notify" do
      @ev = every 30 do
	      ctr += 1
	      icp = ''
	      if ctr % 3 != 0
	        icp = "#{DIR}/static/shoes-icon.png"
	      else
	        icp = "#{DIR}/static/shoes-icon-red.png"
	      end
	      systray title: "Shoes Notify Test", message: "message ##{ctr}", icon: icp
	      @ev.stop if ctr >=  10
	  end
    end
  end 
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
scarpe-0.4.0 examples/legacy/not_checked/shoes3-tests/systray/back.rb
scarpe-0.3.0 examples/legacy/not_checked/shoes3-tests/systray/back.rb
scarpe-0.2.2 examples/legacy/not_checked/shoes3-tests/systray/back.rb
lacci-0.2.1 examples/legacy/not_checked/shoes3-tests/systray/back.rb
scarpe-0.2.1 examples/legacy/not_checked/shoes3-tests/systray/back.rb
scarpe-0.2.0 examples/legacy/not_checked/shoes3-tests/systray/back.rb