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

Method pack_propagate

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

1884 _noarg_ = ['_noarg_']
1885
1886 def pack_propagate(self, flag=_noarg_):
1887 """Set or get the status for propagation of geometry information.
1888
1889 A boolean argument specifies whether the size of this container will
1890 be determined by the geometry information of its content.
1891 If no argument is given the current setting will be returned.
1892 """
1893 if flag is Misc._noarg_:
1894 return self._getboolean(self.tk.call(
1895 'pack', 'propagate', self._w))
1896 else:
1897 self.tk.call('pack', 'propagate', self._w, flag)
1898
1899 propagate = pack_propagate
1900

Callers 1

test_pack_propagateMethod · 0.80

Calls 2

_getbooleanMethod · 0.95
callMethod · 0.45

Tested by 1

test_pack_propagateMethod · 0.64