Re: up to date learning resources
- From: Emmanuele Bassi <ebassi gmail com>
- To: Chris Bare <chris bare gmail com>
- Cc: "clutter-list gnome org" <clutter-list gnome org>
- Subject: Re: up to date learning resources
- Date: Sat, 6 Jun 2015 13:27:16 +0100
Hi;
On 5 June 2015 at 04:30, Chris Bare <chris bare gmail com> wrote:
I'm trying to learn vala and clutter. Where is the best place to find up to
date examples and documentation?
Not really sure for Vala; for C you can use the examples in the
Clutter repository and the cookbook — even if the latter isn't
completely up to date.
I found one example with this comment:
// note: the Clutter.Texture API is deprecrated, but the API that
// replaced it is very cumbersome, so we just stick with
// Clutter.Texture
But I don't know what the new API is.
https://developer.gnome.org/clutter/stable/ClutterImage.html
It's not really any more cumbersome: you need to use GdkPixbuf to load
the image data from disk, resource, or memory; then you can use the
ClutterImage API to load the data.
Less convenient that ClutterTexture "one-method-to-do-everything"?
Possibly. Better at error handling, and more flexible? Definitely.
Ciao,
Emmanuele.
--
https://www.bassi.io
[ ] ebassi [ gmail com]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]