I want to change the fill color of an object from a Python function. I try the following in the Python console, where obj is an object:
color = dia.DiaColor(1.0, 0.0, 0.0) TypeError: cannot create 'DiaColor' instances color = obj.properties["fill_colour"].value # works obj.properties["fill_colour"].value = color TypeError: 'DiaProperty' object has only read-only attributes (assign to .value) Are these things (creating DiaColor objects, and changing properties) not implemented yet, or am I just missing something? Magnus _______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia