utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DEF_WINDOW_SIZE = fyne.NewSize(def_window_width, def_window_height)
)

Functions

func NewColor

func NewColor(R uint8, G uint8, B uint8, Alpha uint8) color.Color

func NewWindowWithCustomSize

func NewWindowWithCustomSize(app fyne.App, title string, widthSize float32, heightSize float32) fyne.Window

func NewWindowWithSize

func NewWindowWithSize(app fyne.App, title string) fyne.Window

Types

type ColoredButton added in v1.0.2

type ColoredButton struct {
	Button     *widget.Button
	Appearance fyne.CanvasObject
}

func NewColoredButton added in v1.0.2

func NewColoredButton(text string, bgColor color.Color, textColor color.Color, onTapped func()) ColoredButton

Jump to

Keyboard shortcuts

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