Posted By


kungfoo on 08/13/09

Tagged


Statistics


Viewed 609 times
Favorited by 0 user(s)

Glimmer GUI DSL


/ Published in: Ruby
Save to your folder(s)



Copy this code and paste it in your HTML
  1. def launch
  2. @shell = shell {
  3. text "SWT"
  4. composite {
  5. label {
  6. text "Hello World!"
  7. }
  8. }
  9. }
  10. @shell.open
  11. end

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.