Lines Matching refs:grab
154 if (!this->grab) {
156 this->grab = SP_CANVAS_ITEM(desktop->acetate);
157 sp_canvas_item_grab(this->grab, ( GDK_KEY_PRESS_MASK | GDK_BUTTON_PRESS_MASK |
238 if ( ( mevent.state & GDK_BUTTON1_MASK ) && !this->grab && this->is_drawing) {
240 this->grab = SP_CANVAS_ITEM(desktop->acetate);
241 sp_canvas_item_grab(this->grab, ( GDK_KEY_PRESS_MASK | GDK_BUTTON_PRESS_MASK |
421 if (this->grab) {
422 /* Release grab now */
423 sp_canvas_item_ungrab(this->grab, revent.time);
424 this->grab = NULL;
433 if (this->grab) {
434 /* Release grab now */
435 sp_canvas_item_ungrab(this->grab, 0);
436 this->grab = NULL;