v2fyne.io/fyne/v2/internal/animation Index | Files

package animation

import "fyne.io/fyne/v2/internal/animation"

Index

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner is the main driver for animations package

func (*Runner) Start

func (r *Runner) Start(a *fyne.Animation)

Start will register the passed application and initiate its ticking.

func (*Runner) Stop

func (r *Runner) Stop(a *fyne.Animation)

Stop causes an animation to stop ticking (if it was still running) and removes it from the runner.

func (*Runner) TickAnimations

func (r *Runner) TickAnimations()

TickAnimations progresses all running animations by one tick. This will be called from the driver to update objects immediately before next paint.

Source Files

animation.go runner.go

Version
v2.6.0-beta1
Published
Mar 7, 2025
Platform
darwin/amd64
Imports
3 packages
Last checked
2 hours ago

Tools for package owners.