Overview
| Artifact ID: | 6a3a55d8b39c68b7d254c113e730cfb98d7173a6 |
|---|---|
| Ticket: | 3371315fffffffffffffffffffffffffffffffff
Crash with Ttk on Win7-64bit |
| User & Date: | patthoyts on 2011-07-19 21:51:43 |
Changes
- icomment:
The most obvious response is 'dont do that'. You are deleting a widget while still processing it's event handler. For something like this you should disconnect the button event from its consequences using a construction like: ttk::button .b -text MAJ -command [list after idle proc_Btn] It shouldn't crash - so presumably we are missing a place where there should be a TkWindow pointer and its now been deleted and we will need to add a guard against this. But don't do it like this - use after.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"