Logo Search packages:      
Sourcecode: inkscape version File versions

GtkType sp_svg_view_widget_get_type ( void   ) 

Registers SPSVGSPViewWidget class with Gtk and returns its type number.

Definition at line 37 of file svg-view-widget.cpp.

References sp_svg_view_widget_class_init(), and sp_svg_view_widget_init().

{
      static GtkType type = 0;
      if (!type) {
            GtkTypeInfo info = {
                  "SPSVGSPViewWidget",
                  sizeof (SPSVGSPViewWidget),
                  sizeof (SPSVGSPViewWidgetClass),
                  (GtkClassInitFunc) sp_svg_view_widget_class_init,
                  (GtkObjectInitFunc) sp_svg_view_widget_init,
                  NULL, NULL, NULL
            };
            type = gtk_type_unique (SP_TYPE_VIEW_WIDGET, &info);
      }
      return type;
}


Generated by  Doxygen 1.6.0   Back to index