Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_object_repr_attr_changed ( Inkscape::XML::Node ,
gchar const *  key,
gchar const *  ,
gchar const *  ,
bool  is_interactive,
gpointer  data 
) [static]

Callback for attr_changed node event.

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

References sp_object_read_attr().

{
    SPObject *object = SP_OBJECT(data);

    sp_object_read_attr(object, key);

    // manual changes to extension attributes require the normal
    // attributes, which depend on them, to be updated immediately
    if (is_interactive) {
        object->updateRepr(0);
    }
}


Generated by  Doxygen 1.6.0   Back to index