I am new to the mess (and pyclutter). I am trying to use pyclutter. So far I have not found a good textbook. I mean nothing that really explains correctly. I saw a couple of sample programs, but when I tried to use pyclutter, I get good results. Commands are available, but using them correctly causes problems. I tried to make a string using pyclutter but couldn't even do this. My code is:
import clutter
from clutter import cogl
stage = clutter.Stage()
stage.set_size(400, 400)
label = clutter.Text()
label.set_text("line")
stage.add(label)
clutter.cogl.set_source_color4ub (255,0,0,255)
clutter.cogl.path_line(100,100,200,200)
clutter.cogl.path_stroke()
stage.show_all()
stage.connect("destroy",clutter.main_quit)
clutter.main()
Perhaps my mistakes are really stupid, but I would be very grateful if someone could point me to a good tutorial where I can find out the clutter (pyclutter).
source
share