Adds new rows to an existing container element inside of this window If the container is a scrollable Column, you need to also call the contents_changed() method :param container: The container Element the layout will be placed inside of :type container: Frame | Co
(self, container, rows)
| 10345 | return self |
| 10346 | |
| 10347 | def extend_layout(self, container, rows): |
| 10348 | """ |
| 10349 | Adds new rows to an existing container element inside of this window |
| 10350 | If the container is a scrollable Column, you need to also call the contents_changed() method |
| 10351 | |
| 10352 | :param container: The container Element the layout will be placed inside of |
| 10353 | :type container: Frame | Column | Tab |
| 10354 | :param rows: The layout to be added |
| 10355 | :type rows: (List[List[Element]]) |
| 10356 | :return: (Window) self so could be chained |
| 10357 | :rtype: (Window) |
| 10358 | """ |
| 10359 | column = Column(rows, pad=(0, 0), background_color=container.BackgroundColor) |
| 10360 | if self == container: |
| 10361 | frame = self.TKroot |
| 10362 | elif isinstance(container.Widget, TkScrollableFrame): |
| 10363 | frame = container.Widget.TKFrame |
| 10364 | else: |
| 10365 | frame = container.Widget |
| 10366 | PackFormIntoFrame(column, frame, self) |
| 10367 | # sg.PackFormIntoFrame(col, window.TKroot, window) |
| 10368 | self.AddRow(column) |
| 10369 | self.AllKeysDict = self._BuildKeyDictForWindow(self, column, self.AllKeysDict) |
| 10370 | return self |
| 10371 | |
| 10372 | def LayoutAndRead(self, rows, non_blocking=False): |
| 10373 | """ |
no test coverage detected