Lines Matching defs:selection
2 * Inkscape::SelectionDescriber - shows messages describing selection
22 #include "selection.h"
23 #include "selection-describer.h"
97 SelectionDescriber::SelectionDescriber(Inkscape::Selection *selection, MessageStack *stack, char *when_selected, char *when_nothing)
103 selection->connectChanged(
106 selection->connectModified(
108 _updateMessageFromSelection(selection);
119 void SelectionDescriber::_selectionModified(Inkscape::Selection *selection, guint /*flags*/)
121 _updateMessageFromSelection(selection);
124 void SelectionDescriber::_updateMessageFromSelection(Inkscape::Selection *selection) {
125 std::vector<SPItem*> const items = selection->itemList();
132 SPObject *layer = selection->layers()->layerForObject(item);
133 SPObject *root = selection->layers()->currentRoot();
170 guint num_layers = selection->numberOfLayers();
171 guint num_parents = selection->numberOfParents();