Interface DragSource.OnDragEnd

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.

@FunctionalInterface public static interface DragSource.OnDragEnd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDragEnd(Drag drag, boolean delete_data)
    Emitted on the drag source when a drag is finished.
  • Method Details

    • onDragEnd

      void onDragEnd(@Nonnull Drag drag, boolean delete_data)
      Emitted on the drag source when a drag is finished.

      A typical reason to connect to this signal is to undo
      things done in [signal@Gtk.DragSource::prepare] or
      [signal@Gtk.DragSource::drag-begin] handlers.
      Parameters:
      drag - the `GdkDrag` object
      delete_data - %TRUE if the drag was performing %GDK_ACTION_MOVE, and the data should be deleted