1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

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


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"

©2014 About.com. All rights reserved.