Documentation ¶
Index ¶
- type SectionElement
- func (se *SectionElement) BackgroundColor(c color.Color) *SectionElement
- func (se *SectionElement) ColumnGap(s size.Size) *SectionElement
- func (se *SectionElement) FontSize(s size.Size) *SectionElement
- func (se *SectionElement) FontWeight(w font_weight.Weight) *SectionElement
- func (se *SectionElement) ForegroundColor(c color.Color) *SectionElement
- func (se *SectionElement) Gap(s size.Size) *SectionElement
- func (se *SectionElement) RowGap(s size.Size) *SectionElement
- func (se *SectionElement) WriteStyles(w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SectionElement ¶
type SectionElement struct { compton.BaseElement // contains filtered or unexported fields }
func Section ¶
func Section(r compton.Registrar) *SectionElement
func (*SectionElement) BackgroundColor ¶ added in v0.1.25
func (se *SectionElement) BackgroundColor(c color.Color) *SectionElement
func (*SectionElement) ColumnGap ¶ added in v0.1.26
func (se *SectionElement) ColumnGap(s size.Size) *SectionElement
func (*SectionElement) FontSize ¶ added in v0.1.25
func (se *SectionElement) FontSize(s size.Size) *SectionElement
func (*SectionElement) FontWeight ¶ added in v0.1.26
func (se *SectionElement) FontWeight(w font_weight.Weight) *SectionElement
func (*SectionElement) ForegroundColor ¶ added in v0.1.25
func (se *SectionElement) ForegroundColor(c color.Color) *SectionElement
func (*SectionElement) Gap ¶ added in v0.1.26
func (se *SectionElement) Gap(s size.Size) *SectionElement
func (*SectionElement) RowGap ¶ added in v0.1.26
func (se *SectionElement) RowGap(s size.Size) *SectionElement
func (*SectionElement) WriteStyles ¶
func (se *SectionElement) WriteStyles(w io.Writer) error
Click to show internal directories.
Click to hide internal directories.