Package: gdk

Function gdk-drag-drop-done

Lambda List

gdk-drag-drop-done (context success)

Arguments

context -- a gdk-drag-context object
sucess -- a boolean whether the drag was ultimatively succesful

Details

Inform GDK if the drop ended successfully. Passing false for @arg{success 0 may trigger a drag cancellation animation. This function is called by the drag source, and should be the last call before dropping the reference to the drag context. The gdk-drag-context object will only take the first gdk-drag-drop-done function call as effective, if this function is called multiple times, all subsequent calls will be ignored.

Since 3.20
 

See also

2021-10-3