drag_begin


Description:


public DragContext drag_begin (Window window, List<Atom> targets)

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 drag_begin_for_device to begin a drag with a different device.

This function is called by the drag source.

Parameters:

window

the source window for this drag.

targets

the offered targets, as list of Atoms

Returns:

a newly created DragContext


Namespace: Gdk
Package: gdk-3.0