Signal

GtkWidget::drag-data-get

Declaration

void
drag_data_get (
  GtkWidget* self,
  GdkDragContext* context,
  GtkSelectionData* data,
  guint info,
  guint time,
  gpointer user_data
)

Description [src]

The ::drag-data-get signal is emitted on the drag source when the drop site requests the data which is dragged. It is the responsibility of the signal handler to fill data with the data in the format which is indicated by info. See gtk_selection_data_set() and gtk_selection_data_set_text().

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Parameters

context GdkDragContext
 

The drag context.

 The data is owned by the caller of the function.
data GtkSelectionData
 

The GtkSelectionData to be filled with the dragged data.

 The data is owned by the caller of the function.
info guint
 

The info that has been registered with the target in the GtkTargetList.

time guint
 

The timestamp at which the data was requested.