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

Method pack_propagate

Lib/tkinter/__init__.py:1852–1863  ·  view source on GitHub ↗

Set or get the status for propagation of geometry information. A boolean argument specifies whether the geometry information of the slaves will determine the size of this widget. If no argument is given the current setting will be returned.

(self, flag=_noarg_)

Source from the content-addressed store, hash-verified

1850 _noarg_ = ['_noarg_']
1851
1852 def pack_propagate(self, flag=_noarg_):
1853 """Set or get the status for propagation of geometry information.
1854
1855 A boolean argument specifies whether the geometry information
1856 of the slaves will determine the size of this widget. If no argument
1857 is given the current setting will be returned.
1858 """
1859 if flag is Misc._noarg_:
1860 return self._getboolean(self.tk.call(
1861 'pack', 'propagate', self._w))
1862 else:
1863 self.tk.call('pack', 'propagate', self._w, flag)
1864
1865 propagate = pack_propagate
1866

Callers

nothing calls this directly

Calls 2

_getbooleanMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected