Hello,
I’m using Tk for the first time and had this problem that I cannot
solve.
Is it possible to grab a toplevel window like a dialog box?
I have something like this:
window=TkToplevel.new
window.grab
and I get this message:
Error:/usr/lib/ruby/1.8/tk.rb:1623:in `__invoke’: grab failed: window
not viewable
As an alternative I can use a dialog box, but I need to return a
string from the user. Is it possible to put a TkEntry in a dialog box?
How?
Thanks for your time.
Tiago Veiga.