The Green Shoes Manual 1.1.362


Ah, here's the stuff of Green Shoes. An element can be as simple as an oval shape. Or as complex as a para text string. You've encountered all of these elements before in the Slots section of the manual.

Green Shoes has seven native controls: the Button, the EditLine, the EditBox, the ListBox, the Progress meter, the Check box and the Radio. By "native" controls, we mean that each of these seven elements is drawn by Ruby/GTK2 apis directly. So, a Progress bar will never convert to the PNG image data.

Greem Shoes also has seven basic other types of elements: Background, Border, Image, Shape, TextBlock, Animate and Video. These all should look and act the same on every operating system.

Once an element is created, you will often still want to change it. To move it or hide it or get rid of it. You'll use the commands in this section to do that sort of stuff. (Especially check out the Common Methods section for commands you can use on any element.)

So, for example, use the image method to place a PNG on the screen. The image method gives you back an Image object. Use the methods of the Image object to change things up.

Next: Common Methods