Fyne API "widget.ButtonStyle"

widget.ButtonStyle


import "fyne.io/fyne/widget"

Usage

type ButtonStyle

type ButtonStyle int

ButtonStyle determines the behaviour and rendering of a button.

const (
	// DefaultButton is the standard button style.
	// Deprecated: use Importance = MediumImportance instead.
	DefaultButton ButtonStyle = iota
	// PrimaryButton that should be more prominent to the user.
	// Deprecated: use Importance = HighImportance instead.
	PrimaryButton
)