From: Tom Sawyer Date: 2002-07-17T01:18:29+09:00 Subject: RE: TkText no -textvariable workaround? On Tue, 2002-07-16 at 09:08, J.Hawkesworth wrote: > I think what Tom is after is a neat way to have the widget's display > automatically whenever the value of some variable is changed. I've a > vague recollection of hitting this problem sometime ago (using Tk with > perl) but I think I just bodged my way round the problem by using a > >well, J- you hit the nail on the head! to the rest, beleive me i've scowerd the tcl/tk docs. i don't have any problem editing the value of the TkText widget via the methods you-all have now relayed to me. thanks for the attempt though. that's just not the problem. what i want to do is directly bind a variable to the widget, a la -textarea, in order to create a mixin module that links an object to a form --instantly. so if the object changes, the form changes, and vice-versa. well, at least that was the hope. now it looks like i'll have to settle on some sort of 'refresh form' method. that is unless anyone else has thought of way.... i still wonder if a ruby callback of some sort could pull it off. is there a way to callback on method invocations? p.s. by the way, mike, i'm not a newbie -- ~transami _(")_ dobee dobee do... \v/ ^ ^