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
4
votes
2 answers

Where to put ruby .gem files so that Shoes.setup can find them?

A lot of questions have been asked about gem support in Shoes, but none have answered where to put them. I've got Shoes Raisins 1134 on Windows XP, and I've downloaded dbi-0.4.1.gem and am trying to get the following to work: Shoes.setup do gem…
Ken Paul
  • 5,685
  • 2
  • 30
  • 33
4
votes
2 answers

Compiling/Package a Shoes.app to a standalone Mac.app?

Is there a way to package a Shoes.app to a standalone Mac.app?
Wasabi Developer
  • 3,523
  • 6
  • 36
  • 60
4
votes
2 answers

Best way to open shoes apps when developing

Learning Shoes here. I am wondering if there is a better way to open shoes apps while keeping the console open. Currently I have to first open the shoes app, then open the console, then open my app after each minute change I make just to see what…
Beaon
  • 347
  • 1
  • 4
  • 16
4
votes
2 answers

How to get Shoes to use an already installed gem?

I have a ruby gem I created and installed and want to be able to use it in a Shoes app. As expected, Shoes reports it cannot find the gem, understandably since the gem is only installed for the standard ruby distribution. Can help pointing towards…
Brian
  • 41
  • 2
4
votes
5 answers

Where can I find documentation on functions available in the Ruby Shoe GUI Toolkit?

Is there any documentation that discribes all the available functions and objects in shoe? update: 2008.01.21 I am looking for a list of all the methods that can be called against an animate object. For example I only figured out how to pause an…
user54682
4
votes
4 answers

How do I change the icon of my Shoes App?

I was wondering if it was possible to change the my Shoes app's icon? I imagine its style-oriented, but I haven't been able to find anything on it. Is this possible?
Derek P.
  • 1,569
  • 10
  • 19
4
votes
2 answers

Tab movement in shoes

I have a problem I have a: stack { flow { para "Enter text:" edit_line } edit_box } (simplified version). When user is on edit_line and presses tab, I want it to move to edit_box control (currently, it just loses focus). Thanks, …
user45148
  • 81
  • 1
  • 4
4
votes
3 answers

Ruby Shoes: Minimize app to system tray on windows

Does anyone know if it is possible (and if it is, how?) to put a Shoes application in MS Windows system tray? Something like using minimize to put the window to system tray.
Edu
  • 1,949
  • 1
  • 16
  • 18
4
votes
1 answer

Can Shoes.rb Create Self-Contained Applications?

It's encouraging that Shoes (the Ruby GUI framework) has excellent packaging functionality, but I'm concerned that it doesn't actually 'wrap' itself around created applications. Packaging for OSX outputs a shoes installer and a shoes file in a .app…
tmcw
  • 11,536
  • 3
  • 36
  • 45
4
votes
1 answer

ruby Dir.entries doesn't recognize special characters

I'm using Dir.entries("myFolder") to get all the filenames. The problem is that instead of some special characters I get placeholders for them. The error occurs if filenames contain special characters like Č, Š and so on. I've specified the file…
Sebastjan Hribar
  • 396
  • 3
  • 13
4
votes
1 answer

Data Stream in Shoes

This may not be a very specific question, but any help or points in the right direction would be greatly appreciated. I am trying to make a shoes app for myself that will display stock quotes, I'm thinking ahead and the issue I run into is that I…
user2109354
  • 197
  • 2
  • 10
4
votes
2 answers

Is there a way to run directly a ruby shoes app?

I managed to build shoes on Linux (Mint 14), but apparently I can only run my script by first running the shoes executable and selecting "Open an App". That's a bit tedious, but when I run ruby CoverMaker.rb, I get the following…
Antoine
  • 5,055
  • 11
  • 54
  • 82
4
votes
2 answers

get list_box from sql RUBY/shoes GUI

i have one problem How do I insert a list from the database in a listbox Example i trying $row_user = $db.execute( "SELECT user FROM usuarios" ) $row_user.each do |row| @users = list_box :items => [row[0]] end but I know he has repeated many list…
3
votes
2 answers

Running shoes ruby 1.9.3 problems

I have installed shoes successfully but when I run the command to start shoes./dist/shoes I get this message bash: ./dist/shoes: No such file or directory I'm running Ubuntu 11.10 and using ruby 1.9.3 rvm. I installed shoes by following the…
t_S
  • 121
  • 9
3
votes
2 answers

How can I make a simple text editing application in Shoes?

I am trying to write a simple tool using Shoes. This will indent code for an obscure scripting language we use. It has one large text box and one button. I have the program working on the command line, but am having no luck wrapping this up in…
nearly_lunchtime
  • 12,203
  • 15
  • 37
  • 42
1
2
3
21 22