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

Method wm_maxsize

Lib/tkinter/__init__.py:2419–2424  ·  view source on GitHub ↗

Set max WIDTH and HEIGHT for this widget. If the window is gridded the values are given in grid units. Return the current values if None is given.

(self, width=None, height=None)

Source from the content-addressed store, hash-verified

2417 manage = wm_manage
2418
2419 def wm_maxsize(self, width=None, height=None):
2420 """Set max WIDTH and HEIGHT for this widget. If the window is gridded
2421 the values are given in grid units. Return the current values if None
2422 is given."""
2423 return self._getints(self.tk.call(
2424 'wm', 'maxsize', self._w, width, height))
2425
2426 maxsize = wm_maxsize
2427

Callers 1

_place_windowFunction · 0.80

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected