Return the value(s) of the specified row(s). If ``last`` is not specified, then return a single row value; otherwise, return a list of row values. Each row value is a tuple of cell values, one for each column in the row.
(self, first, last=None)
| 386 | lb.insert(index, *elts) |
| 387 | |
| 388 | def get(self, first, last=None): |
| 389 | """ |
| 390 | Return the value(s) of the specified row(s). If ``last`` is |
| 391 | not specified, then return a single row value; otherwise, |
| 392 | return a list of row values. Each row value is a tuple of |
| 393 | cell values, one for each column in the row. |
| 394 | """ |
| 395 | values = [lb.get(first, last) for lb in self._listboxes] |
| 396 | if last: |
| 397 | return [tuple(row) for row in zip(*values)] |
| 398 | else: |
| 399 | return tuple(values) |
| 400 | |
| 401 | def bbox(self, row, col): |
| 402 | """ |
no outgoing calls