Not user callable. Use layout parameter instead. Creates the layout using the supplied rows of Elements :param rows: List[List[Element]] The list of rows :type rows: List[List[Element]] :return: (Tab) used for chaining :rtype:
(self, rows)
| 7394 | self.Rows.append(CurrentRow) |
| 7395 | |
| 7396 | def layout(self, rows): |
| 7397 | """ |
| 7398 | Not user callable. Use layout parameter instead. Creates the layout using the supplied rows of Elements |
| 7399 | |
| 7400 | :param rows: List[List[Element]] The list of rows |
| 7401 | :type rows: List[List[Element]] |
| 7402 | :return: (Tab) used for chaining |
| 7403 | :rtype: |
| 7404 | """ |
| 7405 | |
| 7406 | for row in rows: |
| 7407 | try: |
| 7408 | iter(row) |
| 7409 | except TypeError: |
| 7410 | PopupError('Error creating Tab layout', |
| 7411 | 'Your row is not an iterable (e.g. a list)', |
| 7412 | 'Instead of a list, the type found was {}'.format(type(row)), |
| 7413 | 'The offensive row = ', |
| 7414 | row, |
| 7415 | 'This item will be stripped from your layout', keep_on_top=True, image=_random_error_emoji()) |
| 7416 | continue |
| 7417 | self.AddRow(*row) |
| 7418 | return self |
| 7419 | |
| 7420 | def update(self, title=None, disabled=None, visible=None): |
| 7421 | """ |
nothing calls this directly
no test coverage detected