Function

Gdk-3.0Gdkdrag_begin

  • 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.

    Parameters

    • window: Gdk.Window

      the source window for this drag.

    • targets: Gdk.Atom[]

      the offered targets, as list of GdkAtoms

    Returns Gdk.DragContext

    a newly created Gdk.DragContext