Signal
GtkWidget::drag-leave
Declaration
void
drag_leave (
GtkWidget* self,
GdkDragContext* context,
guint time,
gpointer user_data
)
Description [src]
The ::drag-leave signal is emitted on the drop site when the cursor
leaves the widget. A typical reason to connect to this signal is to
undo things done in GtkWidget::drag-motion
, e.g. undo highlighting
with gtk_drag_unhighlight().
Likewise, the GtkWidget::drag-leave
signal is also emitted before the
::drag-drop signal, for instance to allow cleaning up of a preview item
created in the GtkWidget::drag-motion
signal handler.
Default handler: | The default handler is called after the handlers added via |
Parameters
context |
GdkDragContext |
The drag context. |
|
The data is owned by the caller of the function. | |
time |
guint |
The timestamp of the motion event. |