shoes

Automatic height of edit box

My shoes application has three items stacked on top of each other (with a stack, of course), in order: A banner An edit box Two buttons in a flow What I want to do is have the banner stay at it's default size (48px) and the buttons as well (I think this may be platform specific?) and have the edit box take up the remaining area on sc...

Centring a flow in Shoes

Can I center the contents of a flow in Shoes? I know that a paragraph can be centred like: para 'Centred paragrpah', :align=>'center' However, this does not work with flows: flow(:align=>'center') do … end No errors are brought up, but the contents remain left justified. ...

Best way to create GOOD LOOKING, multi-platform, desktop Ruby apps?

Hi everyone, I've got an idea for an idiotically simple application, one that converts HAML and SASS into HTML & CSS files for the user by watching directory changes (like Compass). Almost all the components are already available in the community, I just need to figure out what to use for the front-end. The catch: It must be: a stand...

shoes url not working in Ubuntu?

Hello all, i have been using Shoes in windows from couple of months and it was working awesome, but now i am having Ubuntu set up on my machine and i am trying to run shoes in it but it seems like URL is not working .... i.e nothing happens when i click on it. Have anybody observed this problem. Any help on this? thanks Pradyumna ...

Is there a way to BDD Ruby Shoes?

Hi there, I'm looking for some solutions to BDD a new Shoes app. Any suggestions ...

Ruby Shoes packager including Shoes in the app

I can't seem to get the Ruby Shoes packager to correctly create an exe with Shoes included. I'm using the Raisins release (0.r1134), with the pack.rb replaced from github. The exe's the packager makes are all 70-80K files (they obviously don't include shoes or ruby). These exe's will run on my XP machine that already has Shoes on it. ...

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 something like: Correct, 'calculate answer' and 'compute answer' and 'capture answer'. How...

How to organize a Shoes Ruby app?

can I have some examples of how you organize your Shoes apps? I mean, simply using a Shoes.app{} block and instance variables is clumsy.. I'd like to achieve a MVC like structure.. I'm used to it (from rails, FLEX frameworks and others..) and would like to recreate something similar.. ...

Ruby GUI (non-complex layouts)

I've done quite a bit of research on Ruby GUI design, and it appears to be the one area where Ruby tends to be behind the curve. I've explored the options of MonkeyBars, wxRuby, fxRuby, Shoes, etc. and was just wanted to get some input from the Ruby community. While they're definitely usable, the development on each seems to have falle...

Ruby Shoes __FILE__ for application exe

Hi there, I created a Shoes application that reads some data from a YAML file on APP_PATH/data folder. The application works so well that I decided to package and send to a friend. I created an Windows executable with Shoes inside. When I run the executable, the relative path ./data does not point to the data folder inside the executa...

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 system. Is there any way that shoes could create a .app that contains shoes - that doesn't...

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. ...