Class
BisTimedAnimation
Description [src]
final class Bis.TimedAnimation : Bis.Animation {
/* No available fields */
}
A time-based BisAnimation
.
BisTimedAnimation
implements a simple animation interpolating the given
value from BisTimedAnimation:value-from
to
BisTimedAnimation:value-to
over
BisTimedAnimation:duration
milliseconds using the curve described by
BisTimedAnimation:easing
.
If BisTimedAnimation:reverse
is set to TRUE
, BisTimedAnimation
will instead animate from BisTimedAnimation:value-to
to
BisTimedAnimation:value-from
, and the easing curve will be inverted.
The animation can repeat a certain amount of times, or endlessly, depending
on the BisTimedAnimation:repeat-count
value. If
BisTimedAnimation:alternate
is set to TRUE
, it will also change the
direction every other iteration.
Available since: | 1.0 |
Constructors
bis_timed_animation_new
Creates a new BisTimedAnimation
on widget
to animate target
from from
to to
.
Available since: 1.0
Instance methods
bis_timed_animation_get_alternate
Gets whether self
changes direction on every iteration.
Available since: 1.0
bis_timed_animation_set_alternate
Sets whether self
changes direction on every iteration.
Available since: 1.0
Methods inherited from BisAnimation (10)
bis_animation_get_state
Gets the current value of self
.
Available since: 1.0
bis_animation_get_target
Gets the target self
animates.
Available since: 1.0
bis_animation_get_value
Gets the current value of self
.
Available since: 1.0
bis_animation_get_widget
Gets the widget self
was created for.
Available since: 1.0
bis_animation_pause
Pauses a playing animation for self
.
Available since: 1.0
bis_animation_play
Starts the animation for self
.
Available since: 1.0
bis_animation_reset
Resets the animation for self
.
Available since: 1.0
bis_animation_resume
Resumes a paused animation for self
.
Available since: 1.0
bis_animation_set_target
Sets the target self
animates to target
.
Available since: 1.0
bis_animation_skip
Skips the animation for self
.
Available since: 1.0
Properties
Bis.TimedAnimation:alternate
Whether the animation changes direction on every iteration.
Available since: 1.0
Properties inherited from BisAnimation (4)
Bis.Animation:state
The animation state.
Available since: 1.0
Bis.Animation:target
The target to animate.
Available since: 1.0
Bis.Animation:value
The current value of the animation.
Available since: 1.0
Bis.Animation:widget
The animation widget.
Available since: 1.0
Signals
Signals inherited from BisAnimation (1)
Bis.Animation::done
This signal is emitted when the animation has been completed, either on its
own or via calling bis_animation_skip()
.
Available since: 1.0
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.