Ticket #588 defect closed fixed

Opened 9 years ago

Last modified 8 years ago

tksupport raises bogus error when Tk() object destroyed

Reported by: edsuom Owned by:
Priority: high Milestone:
Component: core Keywords:
Cc: itamarst, edsuom, miket Branch:
Author: Launchpad Bug:

Description


Attachments

tksupport.py.diff Download (197 bytes) - added by edsuom 9 years ago.

Change History

1

Changed 9 years ago by edsuom

Theres' currently no clean way to "uninstall" a Tk() root object that's been
installed with tksupport.install(). Doing a root.destroy() raises an error
because tksupport._guiUpdate() tries to do a widget.update() on the destroyed
object.

See attached patch for a simple fix to this.

Changed 9 years ago by edsuom

2

Changed 9 years ago by miket

Thanks to edsuom for this patch. I have confirmed that it solves the described
problem. May we please integrate it into the repository?

3

Changed 8 years ago by itamarst

I added an uninstall() method to tksupport in HEAD r12599. Please reopen if this
insufficient.

4

Changed 2 years ago by <automation>

  • owner itamarst deleted
Note: See TracTickets for help on using tickets.