Logo Search packages:      
Sourcecode: inkscape version File versions

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

Selects exactly the specified objects.

Parameters:
objs the objects to select

Definition at line 217 of file selection.cpp.

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

                                          {
    _clear();

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

    _emitChanged();
}


Generated by  Doxygen 1.6.0   Back to index