On Thursday 31 December 2009 09:50:28 Sanat Ganu wrote:
Thanks a lot Don. You are right....I want to use Inkscape to develop graphix and python and GTK to render a GUI for timeline etc. The inputs from these two will be used directly to write an SVG file with animations using SMIL. Does Things! do the same? Anyway....I'll check out....thanks again...
Things! is a Python API for animating SVG based on timelines. It is *not* a GUI. I want to write a GUI for it, but that's a huge task that I am only poking with a stick now and then. Things! let's you express the keyframes in a simple string language -- go see the website.
@Jon You are right....C++ is the real problem and also finding the right part of the Inkscape code to add UI elements. Do you think it is straightforward? Does the Extension mechanism not allow the extension to draw a timeline for example and allow the user to manipulate it?
I *wish* Inkscape could allow Python to hook-into the UI so that we could write our own tools (like those along the left) and control things like node handles and events and keyboard shortcuts etc. AFAIK the only interface between Python and Inkscape is vis 'extensions' (or whatever they call them) where you get to open a dialogue (you can design) and act on elements (or make new ones). But it's a kind of one-to-one operation, not at all the same as a tool or widget or interactive dialogue (like fill/stroke) like a timeline widget would be.
\d