drag_get_data


Description:

public void drag_get_data (Widget widget, DragContext context, Atom target, uint32 time_)

Gets the data associated with a drag.

When the data is received or the retrieval fails, GTK+ will emit a drag_data_received signal. Failure of the retrieval is indicated by the length field of the selection_data signal parameter being negative. However, when drag_get_data is called implicitely because the gtk_dest_default_drop was set, then the widget will not receive notification of failed drops.

Parameters:

this

the widget that will receive the drag_data_received signal

context

the drag context

target

the target (form of the data) to retrieve

time_

a timestamp for retrieving the data. This will generally be the time received in a drag_motion or drag_drop signal


Namespace: Gtk
Package: gtk+-3.0