Lines Matching defs:state
219 knot->doubleclicked_signal.emit(knot, event->button.state);
258 knot->ungrabbed_signal.emit(knot, event->button.state);
260 knot->click_signal.emit(knot, event->button.state);
295 knot->grabbed_signal.emit(knot, event->motion.state);
345 knot->ungrabbed_signal.emit(knot, event->button.state);
382 knot->requestPosition(p, event->motion.state);
386 if (event->motion.state & GDK_BUTTON1_MASK) {
399 void SPKnot::requestPosition(Geom::Point const &p, guint state) {
400 bool done = this->request_signal.emit(this, &const_cast<Geom::Point&>(p), state);
404 this->setPosition(p, state);
408 void SPKnot::setPosition(Geom::Point const &p, guint state) {
415 this->moved_signal.emit(this, p, state);
475 int state = SP_KNOT_STATE_NORMAL;
478 state = SP_KNOT_STATE_DRAGGING;
480 state = SP_KNOT_STATE_MOUSEOVER;
483 g_object_set(this->item, "fill_color", this->fill[state], NULL);
484 g_object_set(this->item, "stroke_color", this->stroke[state], NULL);