From: Hidetoshi NAGAI Date: 2009-03-24T11:38:17+09:00 Subject: Re: ruby tkentry tkvariable with class wrappers problem From: Cristian Achim Subject: Re: ruby tkentry tkvariable with class wrappers problem Date: Tue, 24 Mar 2009 07:00:24 +0900 Message-ID: <81d191cc09ee5a2117fba8201cbbbfe7@ruby-forum.com> > when I try to change the value of the tkvariable member variable with > the value member function of tkvariable it doesn't work : it says > nil:NilClass when pressing the button change_entry_text It's a typo. --- chess_games_helper.rb.orig 2009-03-24 11:38:46.000000000 +0900 +++ chess_games_helper.rb 2009-03-24 11:40:03.000000000 +0900 @@ -51,7 +51,7 @@ files_location_entry_d.insert('end' , "data files location") files_location_entry_d.state="disabled" - @files_lcoation_text=txt_var=TkVariable.new + @files_location_text=txt_var=TkVariable.new new_txt=TkVariable.new files_location_entry=TkEntry.new(tk_root){ -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)