signal callback delegate or function to connect
bool callback(gdk.drag_context.DragContext context, int x, int y, uint time, gtk.widget.Widget widget)
context the drag context (optional)
x the x coordinate of the current cursor position (optional)
y the y coordinate of the current cursor position (optional)
time the timestamp of the motion event (optional)
widget the instance the signal is connected to (optional)
Returns whether the cursor position is in a drop zone
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to DragDrop signal.
The ::drag-drop signal is emitted on the drop site when the user drops the data onto the widget. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns false and no further processing is necessary. Otherwise, the handler returns true. In this case, the handler must ensure that gtk.global.dragFinish is called to let the source know that the drop is done. The call to gtk.global.dragFinish can be done either directly or in a #GtkWidget::drag-data-received handler which gets triggered by calling gtk.widget.Widget.dragGetData to receive the data for one or more of the supported targets.