Shoes (Ruby)
| Shoes
| |
|---|---|
| Basisdaten
| |
| Entwickler | why the lucky stiff |
| Erscheinungsjahr | 2007 |
| Aktuelle Version | 3.3.7 (Walkabout) (5. März 2019) |
| Aktuelle Vorabversion | 4 |
| Betriebssystem | Plattformunabhängig |
| Programmiersprache | Ruby, C und etwas Objective-C |
| Kategorie | GUI-Toolkit |
| Lizenz | MIT-Lizenz |
| deutschsprachig | nein |
| shoesrb.com | |
Ruby Shoes ist ein GUI-Toolkit für die Programmiersprache Ruby.
Shoes ist das verbreitetste Toolkit für Ruby.[1] Es wurde von Jonathan Gillette unter dem Pseudonym why the lucky stiff (Kurzform _why) erstellt und im Jahr 2007 veröffentlicht. Nachdem er sich aus dem Projekt verabschiedet hatte, wurde es von anderen Entwicklern weiter geführt. Shoes läuft auf den gängigen Betriebssystemen (Windows, Mac OS X, Linux). Es macht die Erstellung von grafischen Benutzeroberflächen einfach. Mit Shoes ist nicht nur die Erstellung graphischer Elemente wie Knöpfe und Eingabefelder einfach umsetzbar, sondern man kann auch Grafiken darstellen, wie zum Beispiel Kreise, Dreiecke und andere Formen.
Beispielprogramm
Hier ist ein Beispielprogramm:
Shoes.app :title => "Knöpfe" do
@note = para "Bis jetzt wurde noch nichts gedrückt"
button "Drück mich" do
@note.replace "Aha! Der Knopf wurde gedrückt!"
end
end
Versionen
- Versionen, bei denen _why mitgewirkt hat
- Version 1, „Curious“
- Version 2, „Raisins“
- Versionen, bei denen _why nicht mitgewirkt hat
- Version 3, „Policeman“
Die neueste Version ist 3.3.7. Shoes 4 wurde komplett neu geschrieben und mit komplett mit Ruby entwickelt. Es enthält keinen C-Code mehr wie die älteren Versionen.
Weblinks
Literatur
- Hal Fulton, André Arko: The Ruby Way, Kapitel 12.1, S. 444ff, Addison-Wesley, ISBN 978-0321714633 [2]
Einzelnachweise
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.