Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl Gtk2 - ->destroy() is Not Causing the Script to Exit

by sam_bakki (Pilgrim)
on May 08, 2014 at 10:22 UTC ( #1085437=note: print w/ replies, xml ) Need Help??


in reply to Perl Gtk2 - ->destroy() is Not Causing the Script to Exit

Hi mmartin

The below code also would fix your problem.

$window->signal_connect(destroy => sub {Gtk2->main_quit() if (Gtk2->ma +in_level()); exit 0;}); #<---ERROR

Thanks & Regards,
Bakkiaraj M
My Perl Gtk2 technology demo project - http://code.google.com/p/saaral-soft-search-spider/ , contributions are welcome.


Comment on Re: Perl Gtk2 - ->destroy() is Not Causing the Script to Exit
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-04-19 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (361 votes), past polls