GtkDestDefaults

The #GtkDestDefaults enumeration specifies the various types of action that will be taken on behalf of the user for a drag destination site.

Values

ValueMeaning
Motion1

If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget’s list of possible targets and actions. GTK+ will then call gdk.global.dragStatus as appropriate.

Highlight2

If set for a widget, GTK+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable.

Drop4

If set for a widget, when a drop occurs, GTK+ will will check if the drag matches this widget’s list of possible targets and actions. If so, GTK+ will call gtk.widget.Widget.dragGetData on behalf of the widget. Whether or not the drop is successful, GTK+ will call gtk.global.dragFinish. If the action was a move, then if the drag was successful, then true will be passed for the @delete parameter to gtk.global.dragFinish.

All7

If set, specifies that all default actions should be taken.