gt_label

package
v0.1.71 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GTLabel

type GTLabel struct {
	widget.BaseWidget
	Id        string
	Text      string
	TextColor color.Color
	Size      fyne.Size
}

func NewGTLabel

func NewGTLabel(text string, size fyne.Size, textColor color.Color) *GTLabel

NewGTLabel 请使用这种方式初始化,直接用结构体初始化不会产生 Id 等扩展字段

func (*GTLabel) CreateRenderer

func (l *GTLabel) CreateRenderer() fyne.WidgetRenderer

Jump to

Keyboard shortcuts

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