Function
Gdkdrag_begin_from_point
since: 3.20
Declaration [src]
GdkDragContext*
gdk_drag_begin_from_point (
GdkWindow* window,
GdkDevice* device,
GList* targets,
gint x_root,
gint y_root
)
Description [src]
Starts a drag and creates a new drag context for it.
This function is called by the drag source.
Available since: 3.20
Parameters
window-
Type:
GdkWindowThe source window for this drag.
The data is owned by the caller of the function. device-
Type:
GdkDeviceThe device that controls this drag.
The data is owned by the caller of the function. targets-
Type: A list of
GdkAtomThe offered targets, as list of
GdkAtoms.The data is owned by the caller of the function. x_root-
Type:
gintThe x coordinate where the drag nominally started.
y_root-
Type:
gintThe y coordinate where the drag nominally started.
Return value
Type: GdkDragContext
A newly created GdkDragContext.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |