Sha256: 682748e8249002387e798f157543fced7ccf5d4878b6b5406cb848c2d1d0ce3e

Contents?: true

Size: 428 Bytes

Versions: 6

Compression:

Stored size: 428 Bytes

Contents

Shoes.app do
  stack do
    para "Change cursor to"
    flow do
      button "arrow" do
        app.cursor = :arrow_cursor
      end
      button "text" do
        app.cursor = :text_cursor
      end
      button "watch" do
        app.cursor = :watch_cursor
      end
      button "hand" do
        app.cursor = :hand_cursor
      end
    end
    para "app is #{app.class}"
    para "Cursor is #{app.cursor.inspect}"
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

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