view-widget.cpp revision c830d132ea7f29e73b55f87badff602b065f8eac
/** \file
* SPViewWidget implementation.
*
* 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
*/
#include "view.h"
#include "view-widget.h"
//using namespace Inkscape::UI::View;
/* SPViewWidget */
static GtkEventBoxClass *widget_parent_class;
/**
* Registers the SPViewWidget class with Glib and returns its type number.
*/
{
//TODO: switch to GObject
// GtkType and such calls were deprecated a while back with the
// introduction of GObject as a separate layer, with GType instead. --JonCruz
if (!type) {
GtkTypeInfo info = {
(gchar*) "SPViewWidget",
sizeof(SPViewWidget),
sizeof(SPViewWidgetClass),
};
}
return type;
}
/**
* Callback to initialize the SPViewWidget vtable.
*/
{
}
/**
* Callback to initialize the SPViewWidget.
*/
{
}
/**
* Callback to disconnect from view and destroy SPViewWidget.
*
* Apparently, this gets only called when a desktop is closed, but then twice!
*/
{
}
}
}
/**
* Connects widget to view's 'resized' signal and calls virtual set_view()
* function.
*/
{
}
}
/**
* Calls the virtual shutdown() function of the SPViewWidget.
*/
{
}
return FALSE;
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :