Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_view_widget_set_view ( SPViewWidget vw,
Inkscape::UI::View::View view 

Connects widget to view's 'resized' signal and calls virtual set_view() function.

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

References SPViewWidget::view.

Referenced by sp_desktop_widget_new(), and sp_svg_view_widget_init().

    g_return_if_fail(vw != NULL);
    g_return_if_fail(view != NULL);
    g_return_if_fail(vw->view == NULL);
    vw->view = view;

    if (((SPViewWidgetClass *) G_OBJECT_GET_CLASS(vw))->set_view) {
        ((SPViewWidgetClass *) G_OBJECT_GET_CLASS(vw))->set_view(vw, view);

Generated by  Doxygen 1.6.0   Back to index