svg-canvas.cpp revision 0dc33d4ce43e0bb49c63aa53b826ec4a1ff68e28
/** \file
*
* Authors:
* Ralf Stephan <ralf@ark.in-berlin.de>
*
* Copyright (C) 2005 The Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "desktop.h"
#include "desktop-events.h"
#include "display/sp-canvas.h"
#include "display/canvas-arena.h"
#include "ui/widget/svg-canvas.h"
namespace Inkscape {
namespace UI {
namespace Widget {
{
_dt = 0;
}
{
}
void
{
// Set background to white
}
bool
{
// Gdk::Event doesn't appear to be fully usable for this atm
// defocus any spinbuttons
_widget->grab_focus();
}
} else {
}
}
// The keypress events need to be passed to desktop handler explicitly,
// because otherwise the event contexts only receive keypresses when the mouse cursor
// is over the canvas. This redirection is only done for keypresses and only if there's no
// current item on the canvas, because item events and all mouse events are caught
// and passed on by the canvas acetate (I think). --bb
}
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:fileencoding=utf-8:textwidth=99 :