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_)
| 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 |