Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: perl tk get user input

by Corion (Patriarch)
on Jul 04, 2019 at 08:52 UTC ( [id://11102399]=note: print w/replies, xml ) Need Help??


in reply to perl tk get user input

Maybe not using MainLoop at all works? See tk close window and the replies, which suggest that using $dialog->Show() works for showing a dialog.

Replies are listed 'Best First'.
Re^2: perl tk get user input
by vinoth.ree (Monsignor) on Jul 04, 2019 at 10:06 UTC

    But, I am able to destroy the window, but the control is not coming back to the calling function.


    All is well. I learn by answering your questions...

      Maybe you are properly leaving the MainLoop, but Tk does not want to restart it? I don't know. I think the better approach is to not start the MainLoop at all.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-25 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found