Sha256: 88c9b5d0aa2d45fdb133157aaf373abf18ffdcc578592ecc7e8fee1af137744b
Contents?: true
Size: 843 Bytes
Versions: 2
Compression:
Stored size: 843 Bytes
Contents
Shoes.app width: 320, height: 420 do static_dir = Shoes::DIR + "/static/" background static_dir + "menu-gray.png" background static_dir + "menu-top.png", height: 50 background static_dir + "menu-left.png", top: 50, width: 55 background static_dir + "menu-right.png", right: 0, top: 50, width: 55 image static_dir + "menu-corner1.png", top: 0, left: 0 image static_dir + "menu-corner2.png", right: 0, top: 0 stack margin: 40 do stack margin: 10 do para "Name" @name = list_box items: ["Phyllis", "Ronald", "Wyatt"] end stack margin: 10 do para "Address" @address = edit_line end stack margin: 10 do para "Phone" @phone = edit_line end stack margin: 10 do button "Save" do Shoes.p [@name.text, @address.text, @phone.text] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre2 | samples/simple-form.rb |
shoes-4.0.0.pre1 | samples/simple-form.rb |