Logo Search packages:      
Sourcecode: inkscape version File versions

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

Adds the specified objects to selection, without deselecting first.

Parameters:
objs the objects to select

Definition at line 229 of file selection.cpp.

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

                                          {

    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();
}


Generated by  Doxygen 1.6.0   Back to index