Logo Search packages:      
Sourcecode: inkscape version File versions

void SPDesktop::setCurrentLayer ( SPObject object  ) 

Sets the current layer of the desktop.

Make object the top layer.

Definition at line 418 of file desktop.cpp.

References currentRoot(), and Inkscape::ObjectHierarchy::setBottom().

Referenced by _onSelectionChanged(), _reconstruction_finish(), and Inkscape::LayerVerb::perform().

    g_return_if_fail( currentRoot() == object || (currentRoot() && currentRoot()->isAncestorOf(object)) );
    // printf("Set Layer to ID: %s\n", SP_OBJECT_ID(object));

Generated by  Doxygen 1.6.0   Back to index