Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void sp_event_context_activate ( SPEventContext ec )

Calls virtual activate() function of SPEventContext.

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

Referenced by SPDesktop::push_event_context(), and SPDesktop::set_event_context().

    g_return_if_fail(ec != NULL);

    // Make sure no delayed snapping events are carried over after switching contexts
    // (this is only an additional safety measure against sloppy coding, because each
    // context should take care of this by itself.

    if (((SPEventContextClass *) G_OBJECT_GET_CLASS(ec))->activate)
        ((SPEventContextClass *) G_OBJECT_GET_CLASS(ec))->activate(ec);

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index