CallbackAnimationTarget

class CallbackAnimationTarget(**properties: Any)

Superclasses: AnimationTarget, Object

An AnimationTarget that calls a given callback during the animation.

Constructors

class CallbackAnimationTarget
classmethod new(callback: Callable[[...], None], *user_data: Any) AnimationTarget

Creates a new AdwAnimationTarget that calls the given callback during the animation.

Parameters:
  • callback – the callback to call

  • user_data – the data to be passed to callback