Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::Selection::toggle ( SPObject obj  ) 

Removes an item if selected, adds otherwise.

Parameters:
item the item to unselect

Definition at line 184 of file selection.cpp.

References includes().

                                    {
    if (includes (obj)) {
        remove (obj);
    } else {
        add(obj);
    }
}


Generated by  Doxygen 1.6.0   Back to index