Logo Search packages:      
Sourcecode: inkscape version File versions

template<typename InputIterator>
void Inkscape::Selection::add ( InputIterator  from,
InputIterator  to 
) [inline]

Add items from an STL iterator range to the selection.

Parameters:
from the begin iterator
to the end iterator

Definition at line 167 of file selection.h.

References _add(), and _emitChanged().

                                                   {
        _invalidateCachedLists();
        while ( from != to ) {
            _add(*from);
            ++from;
        }
        _emitChanged();
    }


Generated by  Doxygen 1.6.0   Back to index