in reply to Re^2: getting entered data from a pTk megawidget
in thread getting entered data from a pTk megawidget

getting the input back so the application can use it is a pain...

so you're saying delegates isnt working for get method? Strip all other parts if program until you get get delegates working...

im on mobile

  • Comment on Re^3: getting entered data from a pTk megawidget

Replies are listed 'Best First'.
Re^4: getting entered data from a pTk megawidget
by Anonymous Monk on Jan 11, 2022 at 14:53 UTC

    I found 2 typos in the Delegates and ConfigSpecs lines. (I copied from Learning PERL/Tk). I still cant get my entered text back.

      I finally got it! I had to add a bind command. If <Return> is pressed, then print what is in the Entry box. Now I can get back to my version of the LabEntry widget -- it also has an Abort/Quit button under the Entry field/widget. I will save this as an example to follow...