Upgrade to v2.5
Fyne API v2.5
app
canvas
container
data/binding
data/validation
dialog
driver
driver/desktop
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
package widget
Accordion
AccordionItem
Activity
BaseWidget
Button
ButtonAlign
ButtonIconPlacement
ButtonImportance
ButtonStyle
Card
Check
CheckGroup
CustomTextGridStyle
DisableableWidget
Entry
FileIcon
Form
FormItem
GridWrap
GridWrapItemID
Hyperlink
HyperlinkSegment
Icon
ImageSegment
Importance
Label
List
ListItemID
ListSegment
Menu
Orientation
ParagraphSegment
PopUp
PopUpMenu
ProgressBar
ProgressBarInfinite
RadioGroup
RichText
RichTextBlock
RichTextSegment
RichTextStyle
Select
SelectEntry
Separator
SeparatorSegment
Slider
Table
TableCellID
TextGrid
TextGridCell
TextGridRow
TextGridStyle
TextSegment
Toolbar
ToolbarAction
ToolbarItem
ToolbarSeparator
ToolbarSpacer
Tree
TreeNodeID
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