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

Namespaces | Functions

event-utils.h File Reference

#include <gdk/gdk.h>
#include <2geom/point.h>
Include dependency graph for event-utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  Inkscape

Main Inkscape namespace.

namespace  Inkscape::UI

User interface code.


unsigned Inkscape::UI::combine_key_events (guint keyval, gint mask)
unsigned Inkscape::UI::combine_motion_events (SPCanvas *canvas, GdkEventMotion &event, gint mask)
template<typename E >
Geom::Point Inkscape::UI::event_point (E const &event)
template<typename E >
bool Inkscape::UI::held_alt (E const &event)
template<typename E >
bool Inkscape::UI::held_any_modifiers (E const &event)
template<unsigned button, typename E >
bool Inkscape::UI::held_button (E const &event)
template<typename E >
bool Inkscape::UI::held_control (E const &event)
template<typename E >
bool Inkscape::UI::held_no_modifiers (E const &event)
template<typename E >
bool Inkscape::UI::held_only_alt (E const &event)
template<typename E >
bool Inkscape::UI::held_only_control (E const &event)
template<typename E >
bool Inkscape::UI::held_only_shift (E const &event)
template<typename E >
bool Inkscape::UI::held_shift (E const &event)
guint Inkscape::UI::shortcut_key (GdkEventKey const &event)
unsigned Inkscape::UI::state_after_event (GdkEvent *event)
bool Inkscape::UI::state_held_alt (unsigned state)
bool Inkscape::UI::state_held_any_modifiers (unsigned state)
template<unsigned button>
bool Inkscape::UI::state_held_button (unsigned state)
bool Inkscape::UI::state_held_control (unsigned state)
bool Inkscape::UI::state_held_no_modifiers (unsigned state)
bool Inkscape::UI::state_held_only_alt (unsigned state)
bool Inkscape::UI::state_held_only_control (unsigned state)
bool Inkscape::UI::state_held_only_shift (unsigned state)
bool Inkscape::UI::state_held_shift (unsigned state)

Detailed Description

Collection of shorthands to deal with GDK events.

Definition in file event-utils.h.

Generated by  Doxygen 1.6.0   Back to index