Shoes (GUI)

Shoes (GUI)

Shoes est un toolkit expérimental de GUI simplifié basé sur le langage de programmation Ruby, et développé par Why the lucky stiff. Sa simplicité le rend idéal pour les débutants en programmation et pour l'apprentissage. Shoes est disponible sous Microsoft Windows, Mac OS X, Linux et BSD, se basant sur les technologies GTK+, Cairo et Pango. C'est un logiciel libre distribué selon les termes de la licence X11 (ou licence MIT).

Sa syntaxe est basée sur les concepts de piles et de flux (stacks and flows) qui correspondent, basiquement, dans Shoes aux fenêtres et à leur contenu (verticalement et horizontalement respectivement). Divers concepts, principes et aspects syntaxiques de Shoes sont inspirés de NodeBox, REBOL et Processing, entre autres.

Ces quelques lignes de code montrent comment construire une fenêtre avec un bouton changeant le message affiché de « Nothing pushed so far » à « Aha! Click! » :

Shoes.app {
  @push = button "Push me"
  @note = para "Nothing pushed so far"
 
  @push.click {
    @note.replace "Aha! Click!"
  }
}

Références


Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Shoes (GUI) de Wikipédia en français (auteurs)

Игры ⚽ Поможем решить контрольную работу

Regardez d'autres dictionnaires:

  • Shoes (GUI toolkit) — Shoes is a simplified experimental GUI toolkit based on the Ruby Programming Language, developed by why the lucky stiff and others. It is used for education, and to allow easy access to programming for those with few skills or little experience… …   Wikipedia

  • Di Zi Gui — (弟子规), (Standards for being a Good Pupil and Child) was written during the reign (1661 1722) of the Qing Dynasty Emperor Kangxi by Li Yu XIu. The book is based on the ancient teaching of the Chinese philosopher Confucius that emphasises the basic …   Wikipedia

  • Shoe (disambiguation) — A shoe is a piece of outerwear worn on one s foot.Shoe may also refer to: *Brake shoe, the restraint provided to the linings the brake moving against the brake drum * Climbing shoe, a shoe meant to be durable and protective * Horseshoe, nailed to …   Wikipedia

  • Why the lucky stiff — Infobox Person name = Unknown (alias why the lucky stiff ) other names = why, why caption = why at RubyConf occupation = Ruby programmer, author known for = Why s (poignant) Guide to Ruby , Camping why the lucky stiff (often known simply as why… …   Wikipedia

  • List of Jackie Chan Adventures characters — This is a list of characters from the animated television series Jackie Chan Adventures. Contents 1 Main characters 1.1 Jackie Chan 1.2 Jade Chan 1.3 Uncle Chan …   Wikipedia

  • china — /chuy neuh/, n. 1. a translucent ceramic material, biscuit fired at a high temperature, its glaze fired at a low temperature. 2. any porcelain ware. 3. plates, cups, saucers, etc., collectively. 4. figurines made of porcelain or ceramic material …   Universalium

  • China — /chuy neuh/, n. 1. People s Republic of, a country in E Asia. 1,221,591,778; 3,691,502 sq. mi. (9,560,990 sq. km). Cap.: Beijing. 2. Republic of. Also called Nationalist China. a republic consisting mainly of the island of Taiwan off the SE coast …   Universalium

  • Liu Bei — Three Kingdoms infobox Name=Liu Bei Title=Founding emperor Kingdom=Shu Han Born=161 Birth place=Zhuozhou, Hebei, China Died=June 21 223 Death place=Baidicheng, Chongqing, China Reign=221–223 Successor=Liu Shan Simp=刘备 Trad=劉備 Pinyin=Liú Bèi… …   Wikipedia

  • Zune — This article is about the digital media brand. For the AROS widget toolkit, see Zune (widget toolkit). Zune Manufacturer Microsoft Release date …   Wikipedia

  • Society and culture of the Han Dynasty — A Western Han jade carved door knocker with designs of Chinese dragons (and two other jade figurines) The Han Dynasty (206 BCE – 220 CE) was a period of ancient China divided by the Western Han (206 BCE – 9 CE) and Eastern Han (25–220 CE) periods …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”