Adw.PropertyAnimationTarget¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|||
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Adw.PropertyAnimationTarget(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An [class`AnimationTarget`] changing the value of a property of a [class`GObject`.Object] instance.
New in version 1.2.
- classmethod new(object, property_name)¶
- Parameters:
object (
GObject.Object
) – an object to be animatedproperty_name (
str
) – the name of the property on object to animate
- Returns:
the newly created
AdwPropertyAnimationTarget
- Return type:
Creates a new
AdwPropertyAnimationTarget
for the property_name property on object.New in version 1.2.
- classmethod new_for_pspec(object, pspec)¶
- Parameters:
object (
GObject.Object
) – an object to be animatedpspec (
GObject.ParamSpec
) – the param spec of the property on object to animate
- Returns:
new newly created
AdwPropertyAnimationTarget
- Return type:
Creates a new
AdwPropertyAnimationTarget
for the pspec property on object.New in version 1.2.
- get_object()¶
- Returns:
the animated object
- Return type:
Gets the object animated by self.
The
AdwPropertyAnimationTarget
instance does not hold a strong reference on the object; make sure the object is kept alive throughout the target’s lifetime.New in version 1.2.
- get_pspec()¶
- Returns:
the animated property’s
GParamSpec
- Return type:
Gets the
GParamSpec
of the property animated by self.New in version 1.2.
Property Details¶
- Adw.PropertyAnimationTarget.props.object¶
- Name:
object
- Type:
- Default Value:
- Flags:
The object whose property will be animated.
The
AdwPropertyAnimationTarget
instance does not hold a strong reference on the object; make sure the object is kept alive throughout the target’s lifetime.New in version 1.2.
- Adw.PropertyAnimationTarget.props.pspec¶
- Name:
pspec
- Type:
- Default Value:
- Flags:
The
GParamSpec
of the property to be animated.New in version 1.2.