https://github.com/python/cpython/commit/4f140148c45214dd43ebcd6546ed5799521b536b commit: 4f140148c45214dd43ebcd6546ed5799521b536b branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2026-06-29T09:38:47+03:00 summary:
[3.15] gh-87577: Document that wm_manage does not accept ttk widgets (GH-152532) (GH-152543) wm_manage() works only with the classic tkinter Frame, LabelFrame and Toplevel widgets, not their tkinter.ttk counterparts. (cherry picked from commit 2670cb062c9ec31cd6df7be645f929a8398601c7) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Claude Opus 4.8 <[email protected]> files: M Doc/library/tkinter.rst diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 682d507c2d2d88..dfade1345ca901 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -2620,7 +2620,8 @@ Base and mixin classes Make *widget* a stand-alone top-level window, decorated by the window manager with a title bar and so on. Only :class:`Frame`, :class:`LabelFrame` and :class:`Toplevel` widgets - may be used; passing any other widget type raises an error. + may be used (the :mod:`tkinter.ttk` versions are **not** accepted); + passing any other widget type raises an error. :meth:`wm_manage` is an alias of :meth:`!manage`. .. versionadded:: 3.3 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
