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

Method wm_minsize

Lib/tkinter/__init__.py:2428–2433  ·  view source on GitHub ↗

Set min 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

2426 maxsize = wm_maxsize
2427
2428 def wm_minsize(self, width=None, height=None):
2429 """Set min WIDTH and HEIGHT for this widget. If the window is gridded
2430 the values are given in grid units. Return the current values if None
2431 is given."""
2432 return self._getints(self.tk.call(
2433 'wm', 'minsize', self._w, width, height))
2434
2435 minsize = wm_minsize
2436

Callers 1

create2Method · 0.80

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by 1

create2Method · 0.64