A clickable thread option in the selector.
ThreadOption(
self,
thread: ThreadInfo,
index: int,
*,
columns: dict[str, bool],
column_widths: Mapping[str, int | None],
selected: bool,
current: bool,
relative_time: bool = False,
cell_text: dict[tuple[str, str], str] | None = None,
classes: str = ''
)Horizontal| Name | Type | Description |
|---|---|---|
thread* | ThreadInfo | Thread metadata for the row. |
index* | int | The index of this option in the filtered list. |
columns* | dict[str, bool] | Column visibility settings. |
column_widths* | Mapping[str, int | None] | Effective widths for the visible columns. |
selected* | bool | Whether the row is highlighted. |
current* | bool | Whether the row is the active thread. |
relative_time | bool | Default: FalseUse relative timestamps. |
cell_text | dict[tuple[str, str], str] | None | Default: NonePre-formatted cell values keyed by |
classes | str | Default: ''CSS classes for styling. |