animations/effects in granite

Registered by tim schoen

it would be great if we could add animations like slide, zoom etc to granite. also, we can take our time once to make them very smooth, because if you compare the animations used in slingshot with the ones from iOS, the ones from slingshot look like shit.

Then you could add animations like this
var my_widget = new Widget();
var animated_widget = new Granite.AnimatedWidget(my_widget);
animated_widget.animate(Granite.Effects effect, int Duration);

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
Proposed for trunk
Implementation:
Unknown
Milestone target:
None
Completed by
Danielle Foré

Related branches

Sprints

Whiteboard

I think that it would be done by extending from GtkClutter.Embed, creating a new widget called AnimatedWidget, AnimatedContainer or something like that.
For example:
var my_widget = new Widget();
var animated_widget = new Granite.AnimatedWidget(my_widget);
animated_widget.animate(Granite.Effects effect); //where granite effects are elementary standard animations. I think a standard animation set is a good idea.
- erasmo-marin

Thanks, added your idea to the discription! --timschoen123

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.