Fyne API "widget.Activity"

widget.Activity


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

Usage

type Activity

type Activity struct {
	BaseWidget
}

Activity is used to indicate that something is happening that should be waited for, or is in the background (depending on usage).

Since: 2.5

func NewActivity

func NewActivity() *Activity

NewActivity returns a widget for indicating activity

Since: 2.5

func (*Activity) CreateRenderer

func (a *Activity) CreateRenderer() fyne.WidgetRenderer

func (*Activity) MinSize

func (a *Activity) MinSize() fyne.Size

func (*Activity) Start

func (a *Activity) Start()

Start the activity indicator animation

func (*Activity) Stop

func (a *Activity) Stop()

Stop the activity indicator animation