Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: getting entered data from a pTk megawidget

by Anonymous Monk
on Jan 11, 2022 at 01:36 UTC ( [id://11140350]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-25 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found