Package ch.bailu.gtk.gtk
Interface DragSource.OnDragCancel
- Enclosing class:
- DragSource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onDragCancel
(Drag drag, int reason) Emitted on the drag source when a drag has failed.
-
Method Details
-
onDragCancel
Emitted on the drag source when a drag has failed.
The signal handler may handle a failed drag operation based on
the type of error. It should return %TRUE if the failure has been handled
and the default "drag operation failed" animation should not be shown.- Parameters:
drag
- the `GdkDrag` objectreason
- information on why the drag failed- Returns:
- %TRUE if the failed drag operation has been already handled
-