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.