Logo Search packages:      
Sourcecode: inkscape version File versions

GtkType sp_view_widget_get_type ( void   ) 

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

Definition at line 30 of file view-widget.cpp.

References sp_view_widget_class_init(), and sp_view_widget_init().

{
    static GtkType type = 0;
    
    if (!type) {
        GtkTypeInfo info = {
            "SPViewWidget",
            sizeof(SPViewWidget),
            sizeof(SPViewWidgetClass),
            (GtkClassInitFunc) sp_view_widget_class_init,
            (GtkObjectInitFunc) sp_view_widget_init,
            NULL, NULL, NULL
        };
        type = gtk_type_unique(GTK_TYPE_EVENT_BOX, &info);
    }
    
    return type;
}


Generated by  Doxygen 1.6.0   Back to index