Enumeration

GtkDragResult

Declaration

enum Gtk.DragResult

Description [src]

Gives an indication why a drag operation failed. The value can by obtained by connecting to the GtkWidget::drag-failed signal.

Members

GTK_DRAG_RESULT_SUCCESS

The drag operation was successful.

  • Value: 0
  • Available since: 3.0
GTK_DRAG_RESULT_NO_TARGET

No suitable drag target.

  • Value: 1
  • Available since: 3.0
GTK_DRAG_RESULT_USER_CANCELLED

The user cancelled the drag operation.

  • Value: 2
  • Available since: 3.0
GTK_DRAG_RESULT_TIMEOUT_EXPIRED

The drag operation timed out.

  • Value: 3
  • Available since: 3.0
GTK_DRAG_RESULT_GRAB_BROKEN

The pointer or keyboard grab used for the drag operation was broken.

  • Value: 4
  • Available since: 3.0
GTK_DRAG_RESULT_ERROR

The drag operation failed due to some unspecified error.

  • Value: 5
  • Available since: 3.0