DragContext.dragBeginFromPoint

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

This function is called by the drag source.

class DragContext
static
dragBeginFromPoint

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

xRoot int

the x coordinate where the drag nominally started

yRoot int

the y coordinate where the drag nominally started

Return Value

a newly created gdk.DragContext

Meta

Since

3.20