#!/usr/bin/python
import sys
from gi.repository import Clutter

stage = Clutter.Stage()
stage.set_size(1024,768)
stage.connect('destroy', Clutter.main_quit)
stage.set_color(Clutter.Color(0, 0, 0, 255))
stage.set_title('texture')

stage.show()
texture = Clutter.Texture(sys.argv[0])
stage.add_actor(texture)

#print texture.get_cogl_texture()

Clutter.main()



@@ -57,16 +57,81 @@
 lutter%0A%0A
+def do_quit(*args):%0A%09Clutter.main_quit()%0A%0AClutter.init(sys.argv)%0A
 stage = 
@@ -196,28 +196,18 @@
 stroy', 
-Clutter.main
+do
 _quit)%0As
@@ -234,16 +234,20 @@
 er.Color
+.new
 (0, 0, 0
@@ -320,16 +320,30 @@
 .Texture
+.new_from_file
 (sys.arg
@@ -344,17 +344,17 @@
 ys.argv%5B
-0
+1
 %5D)%0Astage

fix texture example for clutter 1.10