DragContext.dragBegin

Starts a drag and creates a new drag context for it. This function assumes that the drag is controlled by the client pointer device, use gdk_drag_begin_for_device() to begin a drag with a different device.

This function is called by the drag source.

class DragContext
static
dragBegin

Parameters

window Window

the source window for this drag.

targets ListG

the offered targets, as list of gdk.Atoms

Return Value

a newly created gdk.DragContext