Skip to content

Commit 3cdae15

Browse files
serhiy-storchakaclaude
authored andcommitted
gh-87577: Document that wm_manage does not accept ttk widgets (GH-152532)
wm_manage() works only with the classic tkinter Frame, LabelFrame and Toplevel widgets, not their tkinter.ttk counterparts. (cherry picked from commit 2670cb0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 404113b commit 3cdae15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/tkinter.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,8 @@ Base and mixin classes
26202620
Make *widget* a stand-alone top-level window, decorated by the window
26212621
manager with a title bar and so on.
26222622
Only :class:`Frame`, :class:`LabelFrame` and :class:`Toplevel` widgets
2623-
may be used; passing any other widget type raises an error.
2623+
may be used (the :mod:`tkinter.ttk` versions are **not** accepted);
2624+
passing any other widget type raises an error.
26242625
:meth:`wm_manage` is an alias of :meth:`!manage`.
26252626

26262627
.. versionadded:: 3.3

0 commit comments

Comments
 (0)