Function

Gdk-3.0Gdkdrag_begin_from_pointSince 3.20

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

    This function is called by the drag source.

    Parameters

    • window: Gdk.Window

      the source window for this drag

    • device: Gdk.Device

      the device that controls this drag

    • targets: Gdk.Atom[]

      the offered targets, as list of GdkAtoms

    • x_root: number

      the x coordinate where the drag nominally started

    • y_root: number

      the y coordinate where the drag nominally started

    Returns Gdk.DragContext

    a newly created Gdk.DragContext

    3.20