SourceClass TableRow
from egui import TableRowclass TableRow:The row of a table.
Is created by TableRow for each created TableBody.row or each visible row in rows created by calling TableBody.rows.
Methods§
Sourcedef col(self, /) -> Any§
Add the contents of a column on this row (i.e. a cell).
Returns the used space (min_rect) plus the Response of the whole cell.
Sourcedef col_index(self, /) -> int§
Returns the index of the column. Incremented after a column is added.
Sourcedef index(self, /) -> int§
Returns the index of the row.
Sourcedef response(self, /) -> Response§
Returns a union of the Responses of the cells added to the row up to this point.
You need to add at least one row to the table before calling this function.
Sourcedef set_hovered(self, /, hovered: bool) -> None§
Set the hovered highlight state for cells added after a call to this function.
Sourcedef set_overline(self, /, overline: bool) -> None§
Set the overline state for this row. The overline is a line above the row, usable for e.g. visually grouping rows.
Sourcedef set_selected(self, /, selected: bool) -> None§
Set the selection highlight state for cells added after a call to this function.