Logo Search packages:      
Sourcecode: inkscape version File versions

void SPSelection::add ( SPObject *  obj  ) 

Add an SPObject to the set of selected objects.

Parameters:
obj the SPObject to add

Definition at line 135 of file selection.cpp.

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

                                   {
    g_return_if_fail(obj != NULL);
    g_return_if_fail(SP_IS_OBJECT(obj));

    if (includes(obj)) {
        return;
    }

    _invalidateCachedLists();
    _add(obj);
    _emitChanged();
}


Generated by  Doxygen 1.6.0   Back to index