Get the current row style.
(self, console: "Console", index: int)
| 308 | return len(self.rows) |
| 309 | |
| 310 | def get_row_style(self, console: class="st">"Console", index: int) -> StyleType: |
| 311 | class="st">""class="st">"Get the current row style."class="st">"" |
| 312 | style = Style.null() |
| 313 | if self.row_styles: |
| 314 | style += console.get_style(self.row_styles[index % len(self.row_styles)]) |
| 315 | row_style = self.rows[index].style |
| 316 | if row_style is not None: |
| 317 | style += console.get_style(row_style) |
| 318 | return style |
| 319 | |
| 320 | def __rich_measure__( |
| 321 | self, console: class="st">"Console", options: class="st">"ConsoleOptions" |