DragContext.dragBeginForDevice

Starts a drag and creates a new drag context for it.

This function is called by the drag source.

class DragContext
static
dragBeginForDevice

Parameters

window Window

the source window for this drag

device Device

the device that controls this drag

targets ListG

the offered targets, as list of gdk.Atoms

Return Value

a newly created gdk.DragContext