window.cpp revision adf2a834bc87a6a22f3a99e8efb42a54dbfbb788
#define __SP_WINDOW_C__
/*
* Generic window implementation
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* This code is in public domain
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gtk/gtkwindow.h>
#include "inkscape.h"
#include "shortcuts.h"
#include "desktop.h"
#include "event-context.h"
#include "window.h"
{
unsigned int shortcut;
SP_SHORTCUT_SHIFT_MASK : 0 ) |
SP_SHORTCUT_CONTROL_MASK : 0 ) |
SP_SHORTCUT_ALT_MASK : 0 );
}
{
return window;
}
static gboolean
{
return on_window_key_press(event);
}
{
g_signal_connect_after ((GObject *) window, "key_press_event", (GCallback) sp_window_key_press, NULL);
return window;
}