display

package
v0.0.0-...-8b718e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: ISC Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const AUTO = -1
View Source
const PREFERED_TEXT_WIDTH = 60

Variables

This section is empty.

Functions

This section is empty.

Types

type TtkArt

type TtkArt struct {
	Content string
}

func (*TtkArt) ExpandHeight

func (widget *TtkArt) ExpandHeight() bool

func (*TtkArt) ExpandWidth

func (widget *TtkArt) ExpandWidth() bool

func (*TtkArt) Init

func (element *TtkArt) Init()

func (*TtkArt) Render

func (widget *TtkArt) Render(width int, height int) string

type TtkLabel

type TtkLabel struct {
	Label    string
	Justify  lipgloss.Position
	Width    int
	MaxWidth int
	// contains filtered or unexported fields
}

func (*TtkLabel) ExpandHeight

func (widget *TtkLabel) ExpandHeight() bool

func (*TtkLabel) ExpandWidth

func (widget *TtkLabel) ExpandWidth() bool

func (*TtkLabel) Init

func (element *TtkLabel) Init()

func (*TtkLabel) Render

func (widget *TtkLabel) Render(width int, height int) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL