[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2021-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #44592, closed as duplicate of this. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2016-07-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- type: enhancement -> behavior versions: +Python 3.5, Python 3.6 -Python 3.3, Python 3.4 ___ Python tracker

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2016-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Following patch tries to handle the case when there are multiple clones (but it doesn't help with tearoff menus). -- Added file: http://bugs.python.org/file43851/nametowidget_clonedmenus_3.patch ___ Python

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2016-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue18686 is reproducible to me. Here is a script based on issue18686 example. Run it and open the "File" menu. $ python3 issue18686.py .#3069298188.#3069298188#3069298252 Exception in Tkinter callback Traceback (most recent call last): File

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2016-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, if you are sure your patch is an improvement, then I think you should commit it without waiting for perfection. Only the other hand, #18686 does not demonstrate a problem *to me* as it does not fail for me. Does anyone else reproduce the failure on a

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue734176 ___ ___

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2013-08-22 Thread Serhiy Storchaka
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

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2013-05-20 Thread Mark Lawrence
Mark Lawrence added the comment: I've attached a patch for Python 3 which I hope is okay as it's my first attempt using TortoiseHg on Windows. -- Added file: http://bugs.python.org/file30320/issue734176_py3.patch ___ Python tracker

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2013-05-19 Thread Greg Couch
Greg Couch added the comment: We still apply that patch to the Python that we embed in our application and have for the last 10 years :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue734176

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2013-05-18 Thread Mark Lawrence
Mark Lawrence added the comment: Ten years on does anybody actually care about this? If you do the patch will need reworking as in Python 3 the code exists in lib/tkinter/__init__.py. -- ___ Python tracker rep...@bugs.python.org

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: A small simple patch that I see no problems with. -- nosy: +BreamoreBoy stage: - patch review type: - feature request versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2010-08-18 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Can someone post a script demonstrating the proposed feature? Is clones of clones issue mentioned by OP resolved in the latest patch? Given that nobody commented on this issue for 7 years, I am skeptical about the

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Eh.. old. Anyway, I have made a patch against trunk now and it should work with any nested level of cloned menus according to how tk names cloned menus. -- nosy: +gpolo versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python