On Mon, 06 Feb 2006 19:32:52 -0800, James Stroud <[EMAIL PROTECTED]> wrote:
> If TextWidgetsFrame inherets from frame, you can override the destroy()  
> method which gets called when the parent gets destroyed.

Unfortunately, it doesn't get called. Everything actually happens at tk  
level, where the destroy *command* gets called, but doesn't inform the  
Python interface object. The destroy method is only a way to call tk's  
destroy command, but overloading it has an effect only when called from  
Python, not from the underlying tk layer.
-- 
python -c "print ''.join([chr(154 - ord(c)) for c in  
'U(17zX(%,5.zmz5(17;8(%,5.Z65\'*9--56l7+-'])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to