]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Jun 2026 15:06:42 +0000 (17:06 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 15:06:42 +0000 (18:06 +0300)
commit81ceb566290f5824523414fa6b468c643aa55c8f
tree49066be6eb9635ca0c59fe646ca72708bed6f74f
parent80d7626c74c1e455a9a2e0d34a06bf29b9970487
[3.15] gh-151678: Add tests for tkinter Misc, Wm and geometry manager methods (GH-151732) (GH-151737)

Cover previously-untested methods of the Misc, Wm, Pack, Place and Grid
classes:

* a new WinfoTest class for the winfo_* query methods (class, name,
  parent, children, toplevel, visual and screen information, atoms,
  pointer and screen coordinates, fpixels, containing, interps,
  viewable), including the pre-existing winfo_rgb and winfo_pathname;
* in MiscTest: getint, getdouble, getvar, register, deletecommand,
  option_add/get/clear, nametowidget, the focus_*, grab_* and
  selection_own* methods, event_add/delete/info, and bell;
* in WmTest: title, geometry, minsize/maxsize, resizable, aspect, grid,
  positionfrom/sizefrom, focusmodel, iconname, client/command,
  overrideredirect, state (with withdraw and deiconify), frame, group,
  protocol and transient;
* the short-named aliases of the grid_*, pack_* and place_* geometry
  manager methods.
(cherry picked from commit 23793ac211371415eaf9491fef031f121969dfb3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Lib/test/test_tkinter/test_geometry_managers.py
Lib/test/test_tkinter/test_misc.py