Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Classes | Namespaces | Defines | Functions

view-widget.h File Reference

#include <gtk/gtkeventbox.h>
Include dependency graph for view-widget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  SPViewWidget
class  SPViewWidgetClass


namespace  Inkscape

Main Inkscape namespace.

namespace  Inkscape::UI

User interface code.


#define SP_TYPE_VIEW_WIDGET   (sp_view_widget_get_type ())
#define SP_VIEW_WIDGET(obj)   (GTK_CHECK_CAST ((obj), SP_TYPE_VIEW_WIDGET, SPViewWidget))
#define SP_VIEW_WIDGET_CLASS(klass)   (GTK_CHECK_CLASS_CAST ((klass), SP_TYPE_VIEW_WIDGET, SPViewWidgetClass))
#define SP_VIEW_WIDGET_DOCUMENT(w)   (SP_VIEW_WIDGET (w)->view ? ((SPViewWidget *) (w))->view->doc : NULL)
#define SP_VIEW_WIDGET_VIEW(w)   (SP_VIEW_WIDGET (w)->view)


SPViewWidgetsp_desktop_widget_new (SPNamedView *namedview)
 Create a new SPViewWidget (which happens to be a SPDesktopWidget).
GType sp_view_widget_get_type (void)
void sp_view_widget_set_view (SPViewWidget *vw, Inkscape::UI::View::View *view)
bool sp_view_widget_shutdown (SPViewWidget *vw)
 Allows presenting 'save changes' dialog, FALSE - continue, TRUE - cancel.

Detailed Description

A widget is the UI context for a document view.

Authors: Lauris Kaplinski <lauris@kaplinski.com> Ralf Stephan <ralf@ark.in-berlin.de>

Copyright (C) 2001-2002 Lauris Kaplinski Copyright (C) 2001 Ximian, Inc.

Released under GNU GPL, read the file 'COPYING' for more information

Definition in file view-widget.h.

Generated by  Doxygen 1.6.0   Back to index