MCPcopy Index your code
hub / github.com/RustPython/RustPython / wm_maxsize

Method wm_maxsize

Lib/tkinter/__init__.py:2343–2348  ·  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

2341 manage = wm_manage
2342
2343 def wm_maxsize(self, width=None, height=None):
2344 """Set max WIDTH and HEIGHT for this widget. If the window is gridded
2345 the values are given in grid units. Return the current values if None
2346 is given."""
2347 return self._getints(self.tk.call(
2348 'wm', 'maxsize', self._w, width, height))
2349
2350 maxsize = wm_maxsize
2351

Callers 1

_place_windowFunction · 0.80

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected