MCPcopy Index your code
hub / github.com/python/cpython / get_window_geometry

Function get_window_geometry

Lib/idlelib/zoomheight.py:110–113  ·  view source on GitHub ↗
(top)

Source from the content-addressed store, hash-verified

108
109
110def get_window_geometry(top):
111 geom = top.wm_geometry()
112 m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom)
113 return tuple(map(int, m.groups()))
114
115
116def set_window_geometry(top, geometry):

Callers 2

zoom_heightMethod · 0.85

Calls 3

wm_geometryMethod · 0.80
matchMethod · 0.45
groupsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…