Adw.CallbackAnimationTarget

g Adw.AnimationTarget Adw.AnimationTarget Adw.CallbackAnimationTarget Adw.CallbackAnimationTarget Adw.AnimationTarget->Adw.CallbackAnimationTarget GObject.Object GObject.Object GObject.Object->Adw.AnimationTarget

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (callback)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Adw.CallbackAnimationTarget(**kwargs)
Bases:

Adw.AnimationTarget

Abstract:

No

Structure:

Adw.CallbackAnimationTargetClass

An [class`AnimationTarget`] that calls a given callback during the animation.

classmethod new(callback)
Parameters:

callback (Adw.AnimationTargetFunc) – the callback to call

Returns:

the newly created callback target

Return type:

Adw.AnimationTarget

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