From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 29 Jun 2026 06:39:17 +0000 (+0200) Subject: [3.13] gh-87577: Document that wm_manage does not accept ttk widgets (GH-152532)... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb00fc09cd4f3a1c5ea2bcff174e872db3e69903;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-87577: Document that wm_manage does not accept ttk widgets (GH-152532) (GH-152545) 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 Co-authored-by: Claude Opus 4.8 --- diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index d7c540699fdd..4d8e7e255c39 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -2586,7 +2586,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