Hello All
I recently joined the Dia mailing list and i have some questions
regarding the scripting capability using python. Yes, i have searched
the mailing list for answers to my questions and i did not find any, Yes
i might be using the wrong words for what i want :-)
1)
I am using Dia 0.9
uot;fill_colour"].value.green,Object.properties["fill_colour"].value.blue)==Black
To test for the black colorWhy can't i do
Object.properties["fill_colour"]==(0.0,0.0,0.0)
Or
Object.properties["fill_colour"].value==(0.0,0.0,0.0) ???
All the best
than
Hello Guys
Sorry to be a nuisance with "simple" questions but is it possible to
provide some hint on the following?
1)
I have been looking at the Dia source code to find out some more info on
how to add some properties to a graph in the way it shows up in UML. I
took a look at the shapes rel
Dear Hans
Thank you for your email and help.
Regarding module reloading, i was just wondering if there is something
provided by Python for refreshing the loaded module (I did not find
something relevant at the Python help files) . I have also tried doing
something like del but it did not wor
Hello All
After taking a look at the UML Objects i found it somewhat complicated.
I love the way you describe the properties and mem offsets within the
struct. I guess that the user interface is generated through the series
of DEFINEs in the PropDescription structure.
However, i was just won
Hello Lars
Thanks for answering my post. Just one thing
This will simplify the User Interface and the operations of getting and
setting properties. In fact get and set operations will somewhat be
taken care by the datalist. Interfacing the properties of each object
with Python will also be ea
Hello Guys
Thanks for answering my post, please see below
@Hans Breuer
However, i was just wondering why don't you use a Glib Dataset or a GLib
Datalist to store the properties (under UserData). The properties need
not have a particular type. These could just be strings and any code
that nee