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

event-utils.h File Reference

Detailed Description

Collection of shorthands to deal with GDK events.

Definition in file event-utils.h.

#include <gdk/gdk.h>
#include <2geom/point.h>

Go to the source code of this file.


namespace  Inkscape
namespace  Inkscape::UI


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)

Generated by  Doxygen 1.6.0   Back to index