Documentation ¶
Overview ¶
Package paragraph provides a simple text widget that neatly splits over multiple lines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Widget ¶
type Widget struct { gowid.RejectUserInput gowid.NotSelectable // contains filtered or unexported fields }
Widget can be used to display text on the screen, with words broken cleanly as the output width changes.
func NewWithWords ¶
func (*Widget) RenderSize ¶
func (w *Widget) RenderSize(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.IRenderBox
Click to show internal directories.
Click to hide internal directories.