Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void SPDesktop::setCurrentLayer ( SPObject object )

Sets the current layer of the desktop.

Make object the top layer.

Definition at line 494 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));

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index