Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::XML::Node * Inkscape::Selection::singleRepr (  ) 

Returns a single selected object's xml node.

Returns:
NULL unless exactly one object is selected

Definition at line 314 of file selection.cpp.

References single().

                                       {
    SPObject *obj=single();
    return obj ? SP_OBJECT_REPR(obj) : NULL;
}


Generated by  Doxygen 1.6.0   Back to index