Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_pencil_context_class_init ( SPPencilContextClass klass  )  [static]

Initialize SPPencilContext vtable.

Definition at line 92 of file pencil-context.cpp.

References SPEventContextClass::root_handler, SPEventContextClass::setup, sp_pencil_context_root_handler(), and sp_pencil_context_setup().

Referenced by sp_pencil_context_get_type().

{
    GObjectClass *object_class;
    SPEventContextClass *event_context_class;

    object_class = (GObjectClass *) klass;
    event_context_class = (SPEventContextClass *) klass;

    pencil_parent_class = (SPDrawContextClass*)g_type_class_peek_parent(klass);

    object_class->dispose = sp_pencil_context_dispose;

    event_context_class->setup = sp_pencil_context_setup;
    event_context_class->root_handler = sp_pencil_context_root_handler;
}


Generated by  Doxygen 1.6.0   Back to index