Logo Search packages:      
Sourcecode: inkscape version File versions

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

Callback for attr_changed node event.

Definition at line 1046 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(repr, 0);

Generated by  Doxygen 1.6.0   Back to index