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

Method wm_geometry

Lib/tkinter/__init__.py:2306–2309  ·  view source on GitHub ↗

Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return current value if None is given.

(self, newGeometry=None)

Source from the content-addressed store, hash-verified

2304 frame = wm_frame
2305
2306 def wm_geometry(self, newGeometry=None):
2307 """Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
2308 current value if None is given."""
2309 return self.tk.call('wm', 'geometry', self._w, newGeometry)
2310
2311 geometry = wm_geometry
2312

Callers 12

_place_windowFunction · 0.80
create2Method · 0.80
create2Method · 0.80
test_grid_bboxMethod · 0.80
test_grid_locationMethod · 0.80
test_resizeMethod · 0.80
winconfig_eventMethod · 0.80
zoom_heightMethod · 0.80
get_window_geometryFunction · 0.80
set_window_geometryFunction · 0.80
position_windowMethod · 0.80
get_geometryMethod · 0.80

Calls 1

callMethod · 0.45

Tested by 5

create2Method · 0.64
create2Method · 0.64
test_grid_bboxMethod · 0.64
test_grid_locationMethod · 0.64
test_resizeMethod · 0.64