Lines Matching defs:event
14 #include "ui/tool/event-utils.h"
37 bool CurveDragPoint::_eventHandler(Inkscape::UI::Tools::ToolBase *event_context, GdkEvent *event)
44 return ControlPoint::_eventHandler(event_context, event);
47 bool CurveDragPoint::grabbed(GdkEventMotion */*event*/)
70 void CurveDragPoint::dragged(Geom::Point &new_pos, GdkEventMotion *event)
75 if (_is_drag_cancelled(event) && _segment_was_degenerate) {
82 if (_drag_initiated && !(event->state & GDK_SHIFT_MASK)) {
110 if(held_shift(*event)){
116 if(held_shift(*event)){
135 bool CurveDragPoint::clicked(GdkEventButton *event)
138 if (!first || event->button != 1) return false;
144 if (held_control(*event) && held_alt(*event)) {
149 if (held_shift(*event)) {
168 bool CurveDragPoint::doubleclicked(GdkEventButton *event)
170 if (event->button != 1 || !first || !first.next()) return false;