Lines Matching defs:SPViewWidget
25 class SPViewWidget;
29 #define SP_VIEW_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_VIEW_WIDGET, SPViewWidget))
34 #define SP_VIEW_WIDGET_DOCUMENT(w) (SP_VIEW_WIDGET (w)->view ? ((SPViewWidget *) (w))->view->doc : NULL)
37 * Registers the SPViewWidget class with Glib and returns its type number.
45 void sp_view_widget_set_view(SPViewWidget *vw, Inkscape::UI::View::View *view);
49 * Calls the virtual shutdown() function of the SPViewWidget.
51 bool sp_view_widget_shutdown(SPViewWidget *vw);
54 * Create a new SPViewWidget (which happens to be a SPDesktopWidget).
56 SPViewWidget *sp_desktop_widget_new(SPNamedView *namedview);
59 * SPViewWidget is a GUI widget that contain a single View. It is also
62 class SPViewWidget {
85 * The Glib-style vtable for the SPViewWidget class.
92 void (* set_view) (SPViewWidget *vw, Inkscape::UI::View::View *view);
94 void (* view_resized) (SPViewWidget *vw, Inkscape::UI::View::View *view, gdouble width, gdouble height);
96 gboolean (* shutdown) (SPViewWidget *vw);