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 <rep...@bugs.python.org>
<http://bugs.python.org/issue734176>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to