PyDia (was Re: Compiling DIA)



At 11:53 24.11.02 +0100, Cyrille Chepelov wrote:
Le Sat, Nov 23, 2002, à 06:32:58PM -0600, Lars Clausen a écrit:

Another question: I saw some python stuff in there. Is it possible to
write python
plugin (or is this planned ine some future) ?

It's supposedly possible, though I haven't seen any examples.  Cyrille, is
the Python plugin good enough to do a simple example?

2001-05-01  Hans Breuer  <hans breuer org>

        * plug-ins/python/debug_objects.py (new file): 
        sample using the above
[Dumps Dia Object properties to console]

2001-01-06  Hans Breuer <Hans Breuer Org>

        * plug-ins/python/export-object.py
        * plug-ins/python/export-render.py : test and documentation 
        implementations for export filter implementations in Python

I never suceeded in doing anything with that plug-in. I believe it was
mainly intended for scripting? If I remember correctly, Hans did build it,
maybe he's got a better clue than I.

The following should probably be added to the L(esser)FAQ 
http://mail.gnome.org/mailman/search?query=python&subquery=%2Buri%3A%2F%5Eht
tp%3A%2F%2Fmail.gnome.org%2Farchives%2Fdia-list%2F&reference=off

Especially:
http://mail.gnome.org/archives/dia-list/2001-July/msg00054.html

"There is probably no senseful way to write Dia Extensions in Python without
being able to read and understand the C-Sources"

But yes it is possible to write Dia Python plug-ins, or at least it
was last time I tried ...

        Hans

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to 
get along without it.                -- Dilbert



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