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

static gint _arena_handler ( SPCanvasArena *  arena,
NRArenaItem *  ai,
GdkEvent *  event,
SPDesktop desktop 
) [static]

Calls event handler of current event context.

Parameters:
arena Unused
Todo:
fixme

Definition at line 1205 of file desktop.cpp.

References SPDesktop::event_context, sp_event_context_item_handler(), and sp_event_context_root_handler().

Referenced by SPDesktop::init().

{
    if (ai) {
        SPItem *spi = (SPItem*)NR_ARENA_ITEM_GET_DATA (ai);
        return sp_event_context_item_handler (desktop->event_context, spi, event);
    } else {
        return sp_event_context_root_handler (desktop->event_context, event);
    }
}


Generated by  Doxygen 1.6.0   Back to index