1. Technology
Send to a Friend via Email

Shoes

Compared to other GUI toolkits, Shoes is a bit unconventional. Originally written by the always interesting "Why the Lucky Stiff," Shoes is a GUI toolkit suitable for smaller applications, games, utilities, etc.

An Introduction to Shoes
This tutorial is a introductory look at the Shoes GUI toolkit for Ruby. You'll find that Shoes is easy to learn, making it a good option for beginning programmers.

Stacks and Flows
A short tutorial on using the Shoes layout manager. To effectively use any GUI toolkit, you have to understand its layout manager (or geometry manager). In Qt, you have HBoxes and VBoxes, in Tk you have the Packer and in Shoes you have stacks and flows.

How Can Shoes Have Buttons?
In a Shoes application, the button is one of the simplest elements. This tutorial will teach you how to make the most of the your GUI toolkit in Ruby.

Displaying Images With Shoes
Displaying images using the Shoes GUI toolkit is as simple as using the image method. This tutorial walks you through adding images in Shoes.

Text and Paragraphs
Since the Shoes GUI is so heavily inspired by the World Wide Web and HTML, it provides a good selection of elements with which you can display text. Here's a tutorial showing you how to use those elements.

Edit Boxes
A quick tutorial taking you through using edit_line and edit_box elements in Shoes to provide text editing.

Are You Sure You Want to Exit? and Other Dialog Methods
We've all had to respond to that ubiquitous question: Are You Sure You Want to Exit? Ever wondered what was behind creating them? Shoes gives you 5 different dialog methods to choose from.

Click Blocks and Animation
Any element can be assigned a "click block," a block of code to run when the element is clicked. If the element is clicked, the click block will run. Learn how to use click blocks, event callbacks and animation in Shoes.

Add a Little Color to Your Shoes
Adding foreground and background colors to your Shoes applications is easy. Shoes has a number of built-in color names that mirror the X11 Color Names used on Linux systems. You can also use HTML-style RGB hex values. Here's how to do it.

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

©2014 About.com. All rights reserved.