Skip to content

@gtkx/react / GtkDropControllerMotion

Variable: GtkDropControllerMotion

const GtkDropControllerMotion: "GtkDropControllerMotion"

Defined in: packages/react/src/generated/jsx.ts:16816

An event controller tracking the pointer during Drag-and-Drop operations.

It is modeled after Gtk.EventControllerMotion so if you have used that, this should feel really familiar.

This controller is not able to accept drops, use Gtk.DropTarget for that purpose.