abstract class TUI::DetailDataSource

Direct Known Subclasses

Defined in:

tui/data_sources/detail_data_source.cr

Instance Method Summary

Instance Method Detail

abstract def lines(id : String, expansions : Set(Symbol)) : Array(DetailLine) #

[View source]
abstract def title(id : String) : String #

[View source]
abstract def toggle_label(sym : Symbol) : String #

Human label for the toggle key bound to sym (e.g. "dependents" for :rdeps) — drives DetailView's status hint, so the letters shown to the user and the letters that actually work can never drift.


[View source]
abstract def toggles : Array(Symbol) #

[View source]