in reply to Tk Button state tied to variable

Um, yeah, a -textvariable option only works for -text option ... if you want it to work for something else, you have to use Tk::Trace
  • Comment on Re: Tk Button state tied to variable ( Tk::Trace )

Replies are listed 'Best First'.
Re^2: Tk Button state tied to variable ( Tk::Trace )
by glenn (Scribe) on Oct 23, 2014 at 13:33 UTC

    Thank you for telling me about trace. It wont accomplish this task as it still requires the widget to accept a variable reference which is updated by task; however, I can use this to implement a text box that updates based on a variable.