21 Sep
2013
21 Sep
'13
10:04 p.m.
2013/9/21 Sebastian Götte <jaseg@...2974...>:
On 09/21/2013 03:36 PM, Arshdeep Singh wrote:
How can I keep track of objects being removed from the selection ?
[ I have been digging through the desktop.cpp/inkscape.cpp/selection.cpp files and couldn't find any noteworthy construct that let me do it. ]
In my connector-wip branch [0] I added a "selected" signal to SPObject. This could be used for that purpose.
As I mentioned some time ago, this is a very bad idea. It would be better to add this signal on the Inkscape::Selection object. Adding a "selected" signal to SPObject introduces UI functionality into the SP tree, which is a design error.
Regards, Krzysztof