On Wed, 2008-04-23 at 10:50 -0700, Aurèle Duda wrote:
Le mercredi 23 avril 2008 à 17:10 +0200, Marcin Floryan a écrit :
I suppose one could think about creating an interface between Inkscape and the running external Extension via a simple messaging system using D-Bus architecture (especially that it already provides binding for Python among others). That would fit neatly with the plans to use D-Bus for Inkscape anyway.
Would be extremely useful and powerful for extension designer, better than redesign the well each time an extension need a boolean operation or sthing else !
If I read your e-mail correctly, this would be something like a macro recorder that could turn a set of steps into an extension. Yes, that would be very cool.
You mention that INX files are only read on startup, and yes that is currently the case. The only reason for this is simplicity. I think the only place that the code may need an update is putting effects into the menus to do it dynamically. That shouldn't be too hard. Everything else is generated off a dynamic database of entries. If you don't want them to have menus (i.e. they're displayed somewhere else) all the code is there to load the extensions dynamically.
Sounds like a cool project!
--Ted