It's a thing of beauty! :)
Thanks

On 26/10/11 12:45, Bastian Winkler wrote:
On Wed, Oct 26, 2011 at 12:08:50PM +0100, Tom Medhurst wrote:
Hmm...
sidebar.add_attribute(0, "text")
My bad, it's add_attribute(attribute, column)

Gives me:
Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

..and gibberish on the GUI? If I change the values I added using:
data.appendv([0], [u"test1"])

It gives me:
Clutter-WARNING **: ./clutter-list-model.c:186: Unable to convert
from PyObject to gchararray
Mx-CRITICAL **: mx_label_set_text: assertion `text != NULL' failed

..which I think is even more worrying?!!!
Any ideas?

IIRC PyGObject has (had?) some problems with GValue arrays, but for that
you have to ask the pygobject people. How about something like this:

next_row = model.get_n_rows()
model.insert_value(next_row, column, value)


so long

:wq buz
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to