What should I use instead of clutter_score_new?

I've been following this tutorial on Clutter, and as you can imagine, it's pretty out of date, with my GCC throwing all manner of deprecation warnings about. As I don't want them to be chucked around (things get deprecated for a reason), I managed to get around most things in there by either following the warnings' advice, or by judiciously researching the Clutter reference.

However, one of the sections (the one about scores) requires me to use clutter_score_new. According to both the GCC warnings and the reference material, this is deprecated, with no alternatives or suggestions given. Having looked at the documentation, I'm a bit lost - what should I do?

Answers


ClutterScore was a bad class that, sadly, was not removed in time before 1.0 got released.

you can achieve the same effect using ClutterTimeline and markers to connect/start/stop timelines in a hierarchical way.

to be fair, though, there's no real reason to use ClutterTimeline directly these days. you can use the implicit animation API directly, or the explicit Transition API.


Need Your Help

What is special for a private key to be PEM-formatted?

python openssl public-key-encryption jwt

I am trying to use the Google API with a oAuth service account, with Python 3.4. One of the steps is to generate a JSON Web Token, for which I use PyJWT.

GUI not updating the image on every click because new image of graph take time in generating every new image, so GUI show the previous image

java image swing graph swingworker

i am having problem in displaying the current on the GUI, i am using Swing Worker which is not working according to my requirements. kindly someone help me to update image on every click while image

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.