Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Tk Button state tied to variable ( Tk::Trace )

by Anonymous Monk
on Oct 22, 2014 at 22:19 UTC ( #1104718=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1104718]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2023-12-06 07:31 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (29 votes). Check out past polls.