On Sat, Sep 27, 2008 at 09:26:19AM -0700, recursor wrote:
> Has anybody been able to get the focus method, say on the edit_line control 
> to work when starting up a shoes app?  What I want is to start up my app and 
> have an edit_line take focus so I can just start typing. Should be simple:
> 
> Shoes.app do
> @edit = edit_line
> @edit.focus
> end

I need to commit a fix for OS X, but the code will also need to
focus once the window appears using the `start` event.

  Shoes.app do
    @edit = edit_line
    start { @edit.focus }
  end

_why

Reply via email to