Questions tagged [shoes]

Shoes is a cross-platform toolkit for writing graphical apps easily and artfully using Ruby. Unlike most other GUI toolkits, Shoes is designed to be easy and straightforward without losing power.

Shoes is a cross-platform toolkit for writing graphical apps easily and artfully using Ruby. Shoes is designed to be easy and straightforward, while still powerful. It was originally developed by why the lucky stiff, and others are carrying on with it after his disappearance.

Shoes runs on Microsoft Windows, Mac OS X and Linux (GTK+), using the underlying technologies of Cairo and Pango. It is written mostly in C, and is distributed or compiled as an executable with Ruby 1.9.1 incorporated (so you don't need Ruby). Its base functionality can be expanded by using Ruby gems. Apps can be compiled and distributed as a binary.

Here's an example Shoes app:

Shoes.app :width => 300, :height => 200 do
  button("Click me!") { alert("Good job.") }
end

Homepage: http://www.shoesrb.com/

Green Shoes is one of the forked projects. It is written in pure Ruby.

Here's an example green Shoes app:

require 'green_shoes'
Shoes.app{
  button("Click me!"){
    alert("Good job.")
  }
}

Homepage: http://vgoff.posterous.com/green-shoes

319 questions
-1
votes
1 answer

Ruby Shoes GUI Secret style not working

I am trying to make a login screen in Ruby Shoes. I am using the ask method to get the username and password but I want the password to show as asterisks. I have to use the secret method but I can't figure out the right syntax.. button "Login" do …
Asad Awadia
  • 1,417
  • 2
  • 9
  • 15
-1
votes
1 answer

Ruby Shoes doesn't work with symbols

I've installed Shoes at Ubuntu, and it doesn't work correctly. Example: it doesn't work Shoes.app :width => 200 :height => 300 do button("Hello"){ alert("DaBuDi") } end it writes "syntax error" in the Shoes window... Shoes.app…
sooobus
  • 841
  • 1
  • 9
  • 22
-2
votes
1 answer

Ruby/Shoes cannot get numeric value from selection of list_box

I'm trying to get an integer from a conditional statement based on the selection on list_box. Just cannot make it work. Also, I would like to be able to remove @acuity = para. My code is based on this: list_box won't use default value on startup -…
user2229838
  • 199
  • 1
  • 12
-3
votes
1 answer

Recalling a method

I wrote a program with three methods: def calculate, def compute, and def capture. Each method had some calculations in them. I want to get just the numeric answer of these methods and use them as a response to a question. I'm looking for it to say…
user298454
  • 51
  • 2
  • 3
1 2 3
21
22