<alt-/> should get you a console window up:

#!shoes
#
# Program to lockout the console
#


Shoes.app do 
  stack do 
    para("Enter text, press button. <alt-/> won't work.")
    flow do
      @entry = edit_line
      @button = button("add_para") do
        para(@entry.text)
      end
    end
  end
end

__END__

Now <alt-/> won't work.  The paras get added correctly though.
That was pretty weird!  I hope that is a concise enough test case.
Can someone tell me how to trap the return key being pressed in 
the edit_line? I can't seem to get it with change{} or edit_line{}.
I'd like to make it the same as a button press in some apps.

Shoes r0.925 MSwin32 on vista 64.

        Hugh

Reply via email to