From: Guillaume Marcais Date: 2005-06-23T11:00:11+09:00 Subject: Re: Ruby gem highline problem Le 22 juin 05, � 08:56, James Edward Gray II a �crit : > On Jun 22, 2005, at 5:17 AM, sujeet kumar wrote: > >> Hi >> I want to take some data at runtime from user and want data to be >> not seen by others. I used >> "password = ask("Enter your password: ") { |q| q.echo = "*"} " to >> take password from user in console(he types password in console) . Now >> I want to take password from TkEntry and want that it too should be >> echoed in TkEntry. >> What should I do? > > I fear the subject of your message is a little misleading. HighLine > can't help you with this, you need a TK guru to offer a suggestion... > I am no Tk guru, but I'll make a suggestion: TkEntry.new { show "*" pack } should do what you. Have a look at 'man n entry' to see all the options available for the entry widget. Hope it helps, Guillaume.