Logo Search packages:      
Sourcecode: inkscape version File versions

GType sp_canvas_group_get_type ( void   ) 

Registers SPCanvasGroup class with Gtk and returns its type number.

Definition at line 699 of file sp-canvas.cpp.

References sp_canvas_group_class_init(), sp_canvas_group_init(), and sp_canvas_item_get_type().

Referenced by sp_canvas_init().

{
    static GType type = 0;
    if (!type) {
        GTypeInfo info = {
            sizeof(SPCanvasGroupClass),
            0, // base_init
            0, // base_finalize
            (GClassInitFunc)sp_canvas_group_class_init,
            0, // class_finalize
            0, // class_data
            sizeof(SPCanvasGroup),
            0, // n_preallocs
            (GInstanceInitFunc)sp_canvas_group_init,
            0 // value_table
        };
        type = g_type_register_static(sp_canvas_item_get_type(), "SPCanvasGroup", &info, static_cast<GTypeFlags>(0));
    }
    return type;
}


Generated by  Doxygen 1.6.0   Back to index