Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_svg_view_widget_class_init ( SPSVGSPViewWidgetClass klass  )  [static]

Callback to initialize SPSVGSPViewWidget vtable.

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

References sp_svg_view_widget_size_allocate(), sp_svg_view_widget_size_request(), sp_svg_view_widget_view_resized(), and SPViewWidgetClass::view_resized.

Referenced by sp_svg_view_widget_get_type().

{
      GtkObjectClass *object_class;
      GtkWidgetClass *widget_class;
      SPViewWidgetClass *vw_class;

      object_class = GTK_OBJECT_CLASS (klass);
      widget_class = GTK_WIDGET_CLASS (klass);
      vw_class = SP_VIEW_WIDGET_CLASS (klass);

      widget_parent_class = (SPViewWidgetClass*)gtk_type_class (SP_TYPE_VIEW_WIDGET);

      object_class->destroy = sp_svg_view_widget_destroy;

      widget_class->size_allocate = sp_svg_view_widget_size_allocate;
      widget_class->size_request = sp_svg_view_widget_size_request;

      vw_class->view_resized = sp_svg_view_widget_view_resized;
}


Generated by  Doxygen 1.6.0   Back to index