Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

How to update tk label value embedded in textarea.

by Anonymous Monk
on Sep 13, 2019 at 18:14 UTC ( #11106137=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,
I have list of labels embedded in textarea.
After deleting/removing label from textarea, I want to update the value of remaining labels in textarea all the time.
Any help on this would be appreciated.

Thanks

  • Comment on How to update tk label value embedded in textarea.

Replies are listed 'Best First'.
Re: How to update tk label value embedded in textarea.
by Anonymous Monk on Sep 13, 2019 at 18:50 UTC
    Seriously? What's preventing your progress? ->configure and be done

      Thank you.
      While I know about configure method. I want to know how to get the labels created using createwindow and embedded in the textarea. So that I can call configure method on them.

        Um

        Its classic, keep track yourself

        my @labels; push @lable, $textarea->Label(); ...

        Or ask Tk

        my @labels = grep { $_->class eq 'Label' } $textarea->children;
Re: How to update tk label value embedded in textarea.
by Anonymous Monk on Sep 14, 2019 at 10:36 UTC

    ok.. I am there. Thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11106137]
Approved by Marshall
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2019-10-22 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?