Thanks Massimiliano, your solution may do the trick. i'll check it out. but sadly i must report my efforts are not going as well as i would have hoped. Tk is a rather sad excuse for a gui toolkit, it seems. i would rather blame myself, but after hours of trying to make a grided frame expand to fill a resized window with out success, i am left feeling like it's just not worth it. but all is not lost, i will return to it after a while and try again. ~transami On Thu, 2002-07-18 at 03:49, Massimiliano Mirra wrote: > On Wed, Jul 17, 2002 at 11:32:18AM +0900, Tom Sawyer wrote: > > On Tue, 2002-07-16 at 19:52, nagai / ai.kyutech.ac.jp wrote: > > > Why are TkText#value and TkText#value= method > > > not enough in your purpose? > > > > my intention was to create a mixin module that by merely being mixed-in > > would tie the object's instance variables to a tk gui form. thus when a > > variable changes the form changes and vice-versa, automatically > > --without having to add any special code to the object itself. > > /me sighs remembering when he did that with good ol' Delphi > > I've no experience of Tk, moreover I did not follow the thread from the > beginning, so apologies in advance. Does anything prevent you to extend > the TkText object with a new setter method that also triggers refresh? > > class TkText > def my_value=(text) > # set the text > # trigger refresh > end > end > > Anyway, a noble purpose, especially for people (like me!) not too fond > of writing GUI code. Let us (or the RAA) know about your results! > > > Massimiliano > -- ~transami _(")_ dobee dobee do... \v/ ^ ^