From: Hidetoshi NAGAI Date: 2010-06-08T06:16:43+09:00 Subject: Re: using TkEntry with copy/paste From: Mathew Cucuzella Subject: Re: using TkEntry with copy/paste Date: Tue, 8 Jun 2010 01:33:41 +0900 Message-ID: <384777e0600994c870ed35b566f21dd0@ruby-forum.com> > Thanks, that will work. I tried what I thought was the equivalent > (below) but it didn't work. The only real difference was that I > didn't pass my config params as function arguments. (snip) > entry = TkEntry.new(top) {textvariable = text_var; grid('row'=>0, ^^^^^^^^^^^^^^^^^^^^^^^ You define a local variable. Please use "textvariable text_var" or "self.textvariable = text_var". -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)