:right-sidebar: True CallbackAnimationTarget =================================================================== .. currentmodule:: gi.repository.Adw .. class:: CallbackAnimationTarget(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Adw.AnimationTarget`, :class:`~gi.repository.GObject.Object` An :obj:`~gi.repository.Adw.AnimationTarget` that calls a given callback during the animation. Constructors ------------ .. rst-class:: interim-class .. class:: CallbackAnimationTarget :no-index: .. classmethod:: new(callback: ~typing.Callable[[float, ~typing.Any], None]) -> ~gi.repository.Adw.AnimationTarget Creates a new ``AdwAnimationTarget`` that calls the given ``callback`` during the animation. :param callback: the callback to call