try using $global_variables :)

On 27/09/2008, at 7:44 AM, Krzysztof B. Wicher wrote:

Hi

Is there a way to comunicate between Shoe apps/windows/dialogs?

If i run this simple application, it does not do what I want and Shoe's console says "undefined method 'text=' for nil:NillClass Why?

Shoes.app do
button "New" do
  dialog :title=> "Question" do
    t=edit_line "whatever"
    button "submitt" do
      @w.text=t.text
      close
    end
  end
end
@w=edit_line
end

I would be thankful for any comments.

Regards

K

Reply via email to