CallbackAnimationTarget

class CallbackAnimationTarget(**properties: Any)

Superclasses: AnimationTarget, Object

Constructors:

CallbackAnimationTarget(**properties)
new(callback:Adw.AnimationTargetFunc=None) -> Adw.AnimationTarget

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