On 04/12/14 17:10, Martin Owens wrote:
If it's possible to add the feature to the selection code such that the
code for navigating and selecting appropriate objects isn't duplicated,
that would be great.
ok.
Maybe something like:
selection->forEachSelectedObjects(callable_method);
selection->forEachSelectedChildren(callable_method);
We need to define which parameters the callable_method should take and
if it should be called for the entire selection at once or on individual
objects etc. I'm new to Inkscape so probably somebody else should figure
that out, I'm likely to forget corner cases or something.
Alexander