shoes/shoes4 — pull request #132 by wasnotrice (2012-09-28 20:43:59+00:00)
Title: We can have multiple apps.

This lets us do multiple apps, following discussion in #120 and #130.

We can now run this snippet (from #120):

```ruby
Shoes.app title: 'first' do
Shoes.app title: 'second' do
end
end
```

We can also run this snippet (from #130):

```ruby
Shoes.app do
button 'spawn' do
Shoes.app do
button('quit'){app.quit}
end
end
end
```

Note that in these two snippets, the first app we create (the outermost `Shoes.app` block) is the 'main app'. When the main app window is closed, the whole app quits. When the other windows are closed, the app keeps running.

Does this seem like the correct behavior?

We still cannot run this snippet (from #120) :(

```ruby
Shoes.app title: 'first' do; end
Shoes.app title: 'second' do; end
```

I'm not sure yet how to make that one work with the Swt event loop.