Documentation ¶
Overview ¶
Package sanitview provides foundational capabilities for managing tview styles. It enables them to be built programmatically, and creates functionality similar to cascading stylesheets where one style can override a subset of another.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TViewStringStyle ¶
type TViewStringStyle = string
func StyleToString ¶
func StyleToString(style *TViewStyle) TViewStringStyle
type TViewStyle ¶
func MergeTviewStyles ¶
func MergeTviewStyles(styles ...*TViewStyle) *TViewStyle
func StringToStyle ¶
func StringToStyle(s TViewStringStyle) *TViewStyle
func (*TViewStyle) AsTCellStyle ¶
func (tvs *TViewStyle) AsTCellStyle() tcell.Style
func (*TViewStyle) AsTag ¶
func (tvs *TViewStyle) AsTag() string
func (*TViewStyle) Clone ¶
func (tvs *TViewStyle) Clone() *TViewStyle
func (*TViewStyle) IsEmpty ¶
func (s *TViewStyle) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.