Hi Shoes hackers,

  After getting frustrated with the modify/save/reopen cycle to see how
minor tweaks would look different in Shoes, I wrote a little shoes app to
allow you to modify code & relaunch it all within a window of Shoes.  Anyone
who wants to try it, its at
http://github.com/kball/shoes-preview/tree/master.

  I've got a few questions now that I haven't been able to figure out from
the manual or tinkering, so I was wondering if anyone on the list could help
me out:

1)  Is there a way to specify where a new Shoes app is going to open on the
desktop?  I tried modifying :left and :top to no avail, though :height and
:width appear to work as I would expect.

2)  Is there an event that can be caught for a Shoes app closing?  I found
that trying to close an app object that has already been closed causes a
crash.

3)  Is there a way to catch ctrl/alt/etc keypress events inside of an
edit_box? For example, if I hit ctrl-s in an edit_box, it doesn't add any
text, and doesn't trigger the change event; is there an event it is
triggering that I can catch somewhere?

4)  Is the focus method for edit_box broken for anyone else?  I see no error
message, but also no effect when I do something like

@e = edit_box :height => 200, :width => '100%'
@e.focus

5)  Is ask_save_file broken for anyone else?  I get the dialog okay, but the
function appears to return nil rather than a string

I'm using the following release of shoes on Mac OS X:

kball$ shoes -v
shoes raisins (0.r1134) [i686-darwin8.9.1] +video

Thanks!

-Kevin

Reply via email to