widget

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const KeywordForm = "form"
View Source
const KeywordFormItem = "item"

Variables

View Source
var ScrollBarsRegex = regexp.MustCompile(`^both|horizontal|vertical|none$`)
View Source
var URLRegex = regexp.MustCompile(`^http(s?)://[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(/?)([a-zA-Z0-9\-.?,'/\\+&%$#_]*)?$`)

Functions

func RegisterAll

func RegisterAll() error

func RegisterWidget

func RegisterWidget(w Creator, typ string) error

func StringValidator

func StringValidator(child ui.AttributesDescr, fullName string) fyne.StringValidator

Types

type Creator

type Creator func(attrs ui.AttributesDescr, values map[string]any, outputKey, fullName string) fyne.CanvasObject

Jump to

Keyboard shortcuts

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