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

Defines | Functions | Variables

shortcuts.cpp File Reference

#include <vector>
#include <cstring>
#include <string>
#include <gdk/gdkkeys.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include "helper/action.h"
#include "io/sys.h"
#include "io/resource.h"
#include "shortcuts.h"
#include "verbs.h"
#include "xml/node-iterators.h"
#include "xml/repr.h"
Include dependency graph for shortcuts.cpp:

Go to the source code of this file.

Functions

static void read_shortcuts_file (char const *filename)
gchar * sp_shortcut_get_label (unsigned int shortcut)
unsigned int sp_shortcut_get_primary (Inkscape::Verb *verb)
Inkscape::Verbsp_shortcut_get_verb (unsigned int shortcut)
static void sp_shortcut_init ()
bool sp_shortcut_invoke (unsigned int shortcut, Inkscape::UI::View::View *view)
static void sp_shortcut_set (unsigned int const shortcut, Inkscape::Verb *const verb, bool const is_primary)
static void try_shortcuts_file (char const *filename)

Variables

static GHashTable * primary_shortcuts = NULL
static GHashTable * verbs = NULL

Detailed Description

Keyboard shortcut processing.

Definition in file shortcuts.cpp.


Generated by  Doxygen 1.6.0   Back to index