The Green Shoes Manual 1.1.362

vs.RedShoes

Green Shoes is following Red Shoes, but not fully compatible.

TextBlock

The following two snippets are same in Red Shoes.

 Shoes.app do
   para 'hello ' * 20
 end
 Shoes.app do
   20.times{para 'hello '}
 end

But in Green Shoes, need to add :width size explicitly.

 Shoes.app do
   20.times{para 'hello ', width: 40}
 end

If you don't specify the :width size, Green Shoes makes a TextBlock object with the parent.width.

For more information, go to Red Shoes and Green Shoes.

Next: gshoes