From a17331a11b8fe5f53b51046d6a03a032f964670a Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 28 Jun 2026 23:00:56 +0300 Subject: [PATCH] gh-87577: Document that wm_manage does not accept ttk widgets wm_manage() works only with the classic tkinter Frame, LabelFrame and Toplevel widgets, not their tkinter.ttk counterparts. Co-Authored-By: Claude Opus 4.8 --- Doc/library/tkinter.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index c368141126403ac..64ef07ede6fbda9 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -2699,7 +2699,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