Re: Changing/Setting end_arrow from python Again



On Wed, 2009-03-04 at 22:12 +0100, Steffen Macke wrote:
Hi,

properties by assigning strings (eg. o.properties['fill_colour']='red')
but haven't found the code which enables this. Trying to change the
Arrow type directly doesn't work. Dia.get_object_type('Arrow') doesn't
work either.

You are right, Dia currently only allows to read the arrow property,
not to change it.
Hans, please correct me if I'm wrong.

If anything doesn't allow it, it's python.  In Dia, the arrow type is
just another property.

-Lars





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]