Documentation ¶
Index ¶
- type ChanLabel
- func (l *ChanLabel) Draw(p *Painter)
- func (l *ChanLabel) MinSizeHint() image.Point
- func (l *ChanLabel) Resize(size image.Point)
- func (l *ChanLabel) SetSpoilers(status *bool)
- func (l *ChanLabel) SetStyleName(style string)
- func (l *ChanLabel) SetText(text string)
- func (l *ChanLabel) SetWordWrap(enabled bool)
- func (l *ChanLabel) SizeHint() image.Point
- func (l *ChanLabel) Text() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChanLabel ¶
type ChanLabel struct { WidgetBase // contains filtered or unexported fields }
ChanLabel is a widget to display read-only text.
func (*ChanLabel) MinSizeHint ¶
MinSizeHint returns the minimum size the widget is allowed to be.
func (*ChanLabel) SetSpoilers ¶
func (*ChanLabel) SetStyleName ¶
SetStyleName sets the identifier used for custom styling.
func (*ChanLabel) SetWordWrap ¶
SetWordWrap sets whether text content should be wrapped.
Click to show internal directories.
Click to hide internal directories.