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

void sp_canvas_item_ungrab ( SPCanvasItem item,
guint32  etime 

Ungrabs the item, which must have been grabbed in the canvas, and ungrabs the mouse.

itemA canvas item that holds a grab.
etimeThe timestamp for ungrabbing the mouse.

Definition at line 586 of file sp-canvas.cpp.

Referenced by pen_handle_button_release(), pencil_handle_button_release(), sp_event_context_private_root_handler(), sp_knot_handler(), and Inkscape::UI::ControlPoint::transferGrab().

    g_return_if_fail (item != NULL);
    g_return_if_fail (SP_IS_CANVAS_ITEM (item));

    if (item->canvas->grabbed_item != item)

    item->canvas->grabbed_item = NULL;

    gdk_pointer_ungrab (etime);

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index