[Cogl] Cogl in Python

Martin Owens doctormo at gmail.com
Tue Apr 10 14:25:23 PDT 2012


On Tue, 2012-04-10 at 22:52 +0200, Artur Skawina wrote:
> PS. I don't think i've ever used cogl.Material - if there exists some
> simple
> self-contained example that uses it i could try it from D using my
> bindings.
> But these parts of GI indeed look sane, so the problem may be
> elsewhere. 

Try over-riding Clutter, in python it would be (see attached). Also
added the image for completeness.

Can you convert this to D?

Martin,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_test.py
Type: text/x-python
Size: 518 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/cogl/attachments/20120410/ffeee1c8/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add.png
Type: image/png
Size: 968 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/cogl/attachments/20120410/ffeee1c8/attachment.png>


More information about the Cogl mailing list