Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Program with Tk::TOTD not exiting properly

by Kirsle (Pilgrim)
on Nov 01, 2013 at 21:09 UTC ( #1060842=note: print w/ replies, xml ) Need Help??


in reply to Program with Tk::TOTD not exiting properly

Confirmed bug.

The problem is reproduced when you use the in-dialog "Close" button to dismiss the dialog. Clicking your window manager's "X" button doesn't reproduce the problem.

The root cause is that the "Close" button calls destroy() on the dialog, and the underlying DialogBox doesn't like this, because it calls WaitVariable and waits forever. Instead, I set the "selected_button" attribute of the DialogBox, which causes the DialogBox to close itself gracefully.

See: 8fa6e213.

I've uploaded Tk::TOTD 0.3 to CPAN that fixes this issue.


Comment on Re: Program with Tk::TOTD not exiting properly

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-09-17 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls