custom

package
v0.0.0-...-abeac51 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Theme

type Theme struct{}

func (Theme) Color

func (Theme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) color.Color

Color 覆盖禁用状态下的颜色设置

func (Theme) Font

func (Theme) Font(style fyne.TextStyle) fyne.Resource

Font 返回字体(未自定义,使用默认主题)

func (Theme) Icon

func (Theme) Icon(name fyne.ThemeIconName) fyne.Resource

Icon 返回图标(未自定义,使用默认主题)

func (Theme) Size

func (Theme) Size(name fyne.ThemeSizeName) float32

Size 返回字体大小(未自定义,使用默认主题)

type WrapLabel

type WrapLabel struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewWrapLabel

func NewWrapLabel(text string) *WrapLabel

func (*WrapLabel) CreateRenderer

func (w *WrapLabel) CreateRenderer() fyne.WidgetRenderer

func (*WrapLabel) SetText

func (w *WrapLabel) SetText(text string)

Jump to

Keyboard shortcuts

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