Ported Shoes::Widget class from Purple Shoes. Try out sample30.rb.