1. Computing

What's a Stack? What's a Flow? --The Shoes Layout Manager

By

3 of 6

The Main Window is a Flow

The main window is itself a flow. The previous example could have been written without the flow block and the same thing would have happened: the three buttons would have been created side by side.

Shoes.app :width => 400, :height => 140 do
  button "Button 1"
  button "Button 2"
  button "Button 3"
end

©2014 About.com. All rights reserved.