Shoes (Widget toolkit)
From Wikipedia, the free encyclopedia
This article is being considered for deletion in accordance with Wikipedia's deletion policy. Please share your thoughts on the matter at this article's entry on the Articles for deletion page. Feel free to edit the article, but the article must not be blanked, and this notice must not be removed, until the discussion is closed. For more information, particularly on merging or moving the article during the discussion, read the guide to deletion. Steps to list an article for deletion: 1. {{subst:afd}} 2. {{subst:afd2|pg=Shoes (Widget toolkit)|cat=|text=}} ~~~~ (categories) 3. {{subst:afd3|pg=Shoes (Widget toolkit)}} (add to top of list) 4. Please consider notifying the author(s) by placing {{subst:adw|Shoes (Widget toolkit)}} ~~~~ on their talk page(s). |
Shoes is tiny UI toolkit written in C Ruby by why the lucky stiff. Shoes applications works under Windows, Mac OS X and Linux (Ubuntu). It's based on concept that making GUI should be similar to creating www website.
[edit] Concept of stacks and flows in Shoes
Stack stays for simple vertical container for UI elements. Widgets in stacks are positioned like in real-life stack: one on another, verticaly. It is more similar to div HTML tag and other block-positioned tag elements.
Flows packs element "as tight as it is possible" - elements are placed one next to another. This positioning method is similar to inline-positioning in HTML.
Below example shows using stacks and flows together:
#!ruby Shoes.app do stack do image "static/hackety-org-header.png" end stack :width => 200 do # column 1 text "column 1" end stack :width => -200 do # column 2 text "column 2" end end
- [1] Shoes homepage