Populates the Table with a list of tuples of strings. Args: matrix (list): list of iterables of strings (lists or something else). Items in the matrix have to correspond to a key for the children.
(self, matrix)
| 1740 | self.style.update({'display': 'grid'}) |
| 1741 | |
| 1742 | def define_grid(self, matrix): |
| 1743 | """Populates the Table with a list of tuples of strings. |
| 1744 | |
| 1745 | Args: |
| 1746 | matrix (list): list of iterables of strings (lists or something else). |
| 1747 | Items in the matrix have to correspond to a key for the children. |
| 1748 | """ |
| 1749 | self.css_grid_template_areas = ''.join("'%s'" % (' '.join(x)) for x in matrix) |
| 1750 | |
| 1751 | def append(self, value, key=''): |
| 1752 | """Adds a child widget, generating and returning a key if not provided |
no outgoing calls
no test coverage detected