On Thu, Dec 9, 2010 at 06:00, Mehta Japan <[email protected]> wrote:
> Hi All,
>
> I have been trying this for sometime but with no luck. How can I load a 
> Clutter
> Texture from a url? Please advise if you have any snippets or samples.
>
> I am trying to use this through seed, but even if you have sample in other
> languages that will help a lot.

What about:

* create a GFile with g_file_new_for_path
* create an input stream with g_file_read
* create a pixbuf with gdk_pixbuf_new_from_stream
* create texture from pixbuf with gtk_clutter_texture_new_from_pixbuf

Regards,

Tomeu

> Thanks,
>
> Japan
>
>
>
> _______________________________________________
> clutter-app-devel-list mailing list
> [email protected]
> http://lists.clutter-project.org/listinfo/clutter-app-devel-list
>
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to