Fyne API "fyne.Disableable"

fyne.Disableable


import "fyne.io/fyne/v2"

Usage

type Disableable

type Disableable interface {
	Enable()
	Disable()
	Disabled() bool
}

Disableable describes any CanvasObject that can be disabled. This is primarily used with objects that also implement the Tappable interface.