|
|
| XP is just a number | |
| PerlMonks |
Re^2: Perl Gtk2 - ->destroy() is Not Causing the Script to Exitby Anonymous Monk |
| on May 02, 2014 at 21:37 UTC ( [id://1084848]=note: print w/replies, xml ) | Need Help?? |
|
Anyone else think that's strange...? Nope, not really :) why I am getting that because of the way you write code :) write it like this ( cope with scoping , avoid closures, don't create objects you don't need, don't destroy objects while closureing over them, don't run mainloops for modal dialogs ... so you don't get order of destruction weirdness related messages )
see sub DESTROY: Strange ordering of object destruction (global destruction order not guaranteed, Re^3: when is destroy function called ( perl -d:Trace dalek ) :) Re: Win32::GUI window freezing, even with threading. (win32-gui-tk-thread-dequeue.pl, Thread::Queue::popnow/push) + Re^4: Win32::GUI window freezing, even with threading. (Wrong solution), Re: Tk: Creating label in hash, Re: perl Tk thread help, Re: error on file open, Re^4: Query the height of Tk::Text widget with word wrap Gtk+/Gnome Application Development - The Main Loop 10.17. How do I run a dialog without running another main loop? Tutorials: Variable Scoping in Perl: the basics, see Re: No such file or directory error/No such file or directory error, see template at (tye)Re: Stupid question (and see one discussion of that template at Re^2: RFC: Creating unicursal stars
tk closures people, Re: TK Submenus (Tk::Menu , global variables/ spirit of strict), tk scoping function argument passing, can't share Tk mainwondow between threads
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||