Hi Guys,
Trying to create a Clutter.ListModel in python using GObject Introspection..
Probably doing something wrong, but can't see what it is..
from gi.repository import GObject, Clutter, Mx
Clutter.init(["--clutter-debug=all"])
m=Clutter.ListModel()
m.newv(1, GObject.type_from_name("gchararray"), "name")
*BANG*
*Segmentation Fault*
...Also newv only takes "4" args (incl. *self*), so how do I specify more
than one column?
If someone could provide me with a working version of the code above, that
would be awesome!
uname -r:
*Linux %HOSTNAME% 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC
2011 i686 i686 i386 GNU/Linux*
python -V:
*Python 2.7.2+*
clutter is version 1.0-0 and libmx is version 1.0-2
Kind Regards,
Thomas
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list