Logo Search packages:      
Sourcecode: inkscape version File versions

GType sp_canvas_item_get_type ( void   ) 

Registers the SPCanvasItem class with Glib and returns its type number.

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

References sp_canvas_item_class_init(), and sp_canvas_item_init().

Referenced by sp_canvas_group_class_init(), sp_canvas_group_get_type(), and sp_canvas_item_new().

    static GType type = 0;
    if (!type) {
        static GTypeInfo const info = {
            sizeof (SPCanvasItemClass),
            NULL, NULL,
            (GClassInitFunc) sp_canvas_item_class_init,
            NULL, NULL,
            sizeof (SPCanvasItem),
            (GInstanceInitFunc) sp_canvas_item_init,
        type = g_type_register_static (GTK_TYPE_OBJECT, "SPCanvasItem", &info, (GTypeFlags)0);

    return type;

Generated by  Doxygen 1.6.0   Back to index