Method

GtkWidgetdrag_dest_set_track_motion

since: 2.10

Declaration [src]

void
gtk_drag_dest_set_track_motion (
  GtkWidget* widget,
  gboolean track_motion
)

Description [src]

Tells the widget to emit GtkWidget::drag-motion and GtkWidget::drag-leave events regardless of the targets and the GTK_DEST_DEFAULT_MOTION flag.

This may be used when a widget wants to do generic actions regardless of the targets that the source offers.

Available since: 2.10

Parameters

track_motion

Type: gboolean

Whether to accept all targets.