drag_begin


Description:

[ Version ( deprecated = true , deprecated_since = "3.10" ) ]
public weak DragContext drag_begin (Widget widget, TargetList targets, DragAction actions, int button, Event? event)

Warning: drag_begin is deprecated since "3.10".

This function is equivalent to drag_begin_with_coordinates, passing -1, -1 as coordinates.

Note:

Parameters:

this

the source widget

targets

The targets (data formats) in which the source can provide the data

actions

A bitmask of the allowed drag actions for this drag

button

The button the user clicked to start the drag

event

The event that triggered the start of the drag, or null if none can be obtained.

Returns:

the context for this drag


Namespace: Gtk
Package: gtk+-3.0