Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_event_context_read ( SPEventContext ec,
gchar const *  key 

Calls virtual set() function of SPEventContext.

Definition at line 825 of file event-context.cpp.

References Inkscape::XML::Node::attribute(), and SPEventContext::prefs_repr.

Referenced by sp_pen_context_setup().

    g_return_if_fail(ec != NULL);
    g_return_if_fail(key != NULL);

    if (ec->prefs_repr) {
        gchar const *val = ec->prefs_repr->attribute(key);
        if (((SPEventContextClass *) G_OBJECT_GET_CLASS(ec))->set)
            ((SPEventContextClass *) G_OBJECT_GET_CLASS(ec))->set(ec, key, val);

Generated by  Doxygen 1.6.0   Back to index