Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void Inkscape::Selection::addList ( GSList const *  objs )

Adds the specified objects to selection, without deselecting first.

Parameters:
objsthe objects to select

Definition at line 249 of file selection.cpp.

References _add(), _emitChanged(), and includes().

Referenced by sp_selection_set_mask().

                                          {

    if (list == NULL)
        return;

    _invalidateCachedLists();

    for ( GSList const *iter = list ; iter != NULL ; iter = iter->next ) {
        SPObject *obj = reinterpret_cast<SPObject *>(iter->data);
        if (includes(obj)) {
            continue;
        }
        _add (obj);
    }

    _emitChanged();
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index