mental@...3... wrote:
You'd probably want to embed a bare SPSVGViewWidget. Live updates through the magic of MVC.
Except that it's not a live view of the same tree. Not exactly anyway.
Instead it's an alternate rendering that comes through an entirely different code path. When Inkscape loads it's SVG icons, it goes through a strange separate codepath that renders things differently. The icon view is not really a view on the same document, but a different rendering of it. Of course, at one level that could be considered the same thing, but on another it's different.
Same goes for animation. It's not going to be a separate View on the same live tree Model, but a View based on a slave Model that is sporadically updated.
This is also a new concept for Inkscape, so I was thinking it would take some time to hammer out. New paradigm and all. But we'll need it for some of the things we're slated to add down the road.