Sha256: e1e09949a830002abf0c6c7ed280c9f0a49a7bfded1bf41ba73c7d4bd4d301c5

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

Shoes.app do
  stack :margin => 20, :width => 250 do
    subtitle "Shoes Notebook"
    para "Add a note."
    @add = edit_line

    button "Save" do
      @notes.append do
        para @add.text, " ",
          link("delete") { |x| x.parent.remove }
      end
      @add.text = ""
    end
  end
  @notes = stack :margin => 20, :widht => -250
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
scarpe-0.2.2 examples/legacy/not_checked/shoes-contrib/basic/shoes-notes.rb
lacci-0.2.1 examples/legacy/not_checked/shoes-contrib/basic/shoes-notes.rb
scarpe-0.2.1 examples/legacy/not_checked/shoes-contrib/basic/shoes-notes.rb
scarpe-0.2.0 examples/legacy/not_checked/shoes-contrib/basic/shoes-notes.rb