At 12.10.2008 19:07, Fred Morcos wrote:
Why would you want to do this? As mentioned before it definitely is no requirement to get your code to be included with Dia.On Sun, Oct 12, 2008 at 6:55 PM, Hans Breuer <hans breuer org> wrote:At 08.10.2008 16:50, Fred Morcos wrote:Sorry for the very late reply, I have been finalizing my thesis and moving back to my country. I would like to restart the discussion about automatic layout, gearing things towards inclusion into Dia as an offered feature. You would prefer it as a plugin (I presume)?Yes.If it is a plugin, where should the GUI code go (if any)?In the plug-in. I did the necessary changes to your code some time ago, but that may be lost in some email. I have now added the plug-in to bugzilla. See: http://bugzilla.gnome.org/show_bug.cgi?id=556026I forgot to mention that I am going to implement it in Python.
That was why I asked about GUI code. So should I use pygtk?
If you would go with Python, yes.
Any requirements for the GUI (following a certain HIG)?You may want to read http://library.gnome.org/devel/hig-book/stable/. But please keep in mind that Dia should rely only on GUI available with vanilla Gtk+ for portability easons.How can I generate the API docs for plugins? --with-hardbooks didn't work.There is no dedicated plug-in API documentation. Basically you can use everything available from lib/* and nothing from app/*Help > PyDia Docs is all what's there?
Almost, but see also: http://www.gnome.org/projects/dia/python.html -------- Hans "at" Breuer "dot" Org ----------- Tell me what you need, and I'll tell you how to get along without it. -- Dilbert