Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 508 Bytes

Dynamically changing the size/title of the shoes main window

I know this is not his request. But it may be seen like the same behavior. ;-)

Shoes.app :width => 200, :height => 200, :title => 'Hi' do
  timer 5 do
    Shoes.app :width => 300, :height => 300, :title => 'Hello'
    app.close
  end
end

Dynamically changing the size/title of the shoes main window