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

Method grid_propagate

Lib/tkinter/__init__.py:2026–2037  ·  view source on GitHub ↗

Set or get the status for propagation of geometry information. A boolean argument specifies whether the size of this container will be determined by the geometry information of its content. If no argument is given the current setting will be returned.

(self, flag=_noarg_)

Source from the content-addressed store, hash-verified

2024 'grid', 'location', self._w, x, y)) or None
2025
2026 def grid_propagate(self, flag=_noarg_):
2027 """Set or get the status for propagation of geometry information.
2028
2029 A boolean argument specifies whether the size of this container will
2030 be determined by the geometry information of its content.
2031 If no argument is given the current setting will be returned.
2032 """
2033 if flag is Misc._noarg_:
2034 return self._getboolean(self.tk.call(
2035 'grid', 'propagate', self._w))
2036 else:
2037 self.tk.call('grid', 'propagate', self._w, flag)
2038
2039 def grid_rowconfigure(self, index, cnf={}, **kw):
2040 """Configure row INDEX of a grid.

Callers 2

tearDownMethod · 0.80
test_grid_propagateMethod · 0.80

Calls 2

_getbooleanMethod · 0.95
callMethod · 0.45

Tested by 2

tearDownMethod · 0.64
test_grid_propagateMethod · 0.64