This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Akuli, epaine, serhiy.storchaka, terry.reedy
Date 2021-07-09.20:46:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625863614.4.0.610681151146.issue44592@roundup.psfhosted.org>
In-reply-to
Content
Akuli, what tk widgets do you think are not known to tkinter?  In any case, tk menu is known to tkinter.

I cannot reproduce when running on Windows with 3.10.0b3:  Add "print(root.children)" (after add_cascade) results in {'!menu': <tkinter.Menu object .!menu>, '!menu2': <tkinter.Menu object .!menu2>}.  The names are created in tkinter.py lines 2564-2573.

I then see 'None' once and then '<tkinter.Tk object .>' indefinitely even while hovering over and clicking 'click me' and the dropdown.  If I click outside the tk box, the print returns to 'None'.

Maybe there is an OS difference in what is considered to have 'focus'.

Key '#!menu' looks like '!menu' with '#' prepended.  Someone could try changing the tkinter code referenced above and see if the change appears in the bad key.  Also check the contents of root.children.
History
Date User Action Args
2021-07-09 20:46:54terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, Akuli, epaine
2021-07-09 20:46:54terry.reedysetmessageid: <1625863614.4.0.610681151146.issue44592@roundup.psfhosted.org>
2021-07-09 20:46:54terry.reedylinkissue44592 messages
2021-07-09 20:46:54terry.reedycreate