Logo Search packages:      
Sourcecode: inkscape version File versions

gchar const* sp_object_getAttribute ( SPObject const *  object,
gchar const *  key,
SPException ex 
)

Todo:
fixme: Exception if object is NULL? */

Definition at line 1402 of file sp-object.cpp.

{
    /* If exception is not clear, return */
    if (!SP_EXCEPTION_IS_OK(ex)) {
        return NULL;
    }

    /// \todo fixme: Exception if object is NULL? */
    return (gchar const *) object->repr->attribute(key);
}


Generated by  Doxygen 1.6.0   Back to index