[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets
Serhiy Storchaka
report at bugs.python.org
Fri Aug 23 00:02:52 CEST 2013
Serhiy Storchaka added the comment:
issue18686 have a script which demonstrates the proposed feature.
However Guilherme's patch is a little wrong. Here is updated patch.
Note that even this patch is not absolute correct, because Tk adds count if new name is not unique. I.e. if .#12345 already exists it try .#123451, .#123452, .#123453, etc. It is impossible restore original name in general case.
----------
nosy: +serhiy.storchaka
versions: +Python 2.7, Python 3.3, Python 3.4 -Python 3.2
Added file: http://bugs.python.org/file31426/nametowidget_clonedmenus_2.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue734176>
_______________________________________
More information about the Python-bugs-list
mailing list