Fyne API "widget.ButtonImportance"

widget.ButtonImportance


import "fyne.io/fyne/v2/widget"

Usage

type ButtonImportance

type ButtonImportance int

ButtonImportance represents how prominent the button should appear

Since: 1.4
const (
	// MediumImportance applies a standard appearance.
	MediumImportance ButtonImportance = iota
	// HighImportance applies a prominent appearance.
	HighImportance
	// LowImportance applies a subtle appearance.
	LowImportance

	// DangerImportance applies an error theme to the button.
	//
	// Since 2.3
	DangerImportance
	// WarningImportance applies an error theme to the button.
	//
	// Since 2.3
	WarningImportance
)