Search code examples
rubyuser-interfacetoolkit

Portable Ruby GUI Toolkit


I am in need of a GUI toolkit that goes a little further than tk does, but my school's computers do not allow programs to run if they try to create/alter files on the local disk. Because of that, I need a portable GUI toolkit for Windows. Does anybody know of one?


Solution

  • Green Shoes, just install the gem, copy it along with your Ruby map to a stick and you are off to go.

    gem install green_shoes
    

    http://ashbb.github.com/green_shoes/App.html

    a simple sample

    require 'green_shoes'
    Shoes.app{
      e = edit_line
      button("Click me!"){alert("You entered #{e.text}")}
    }