Skip to main content

DragTargetEvent

Event payload for drag move and accepted-drop callbacks.

Inherits: flet.controls.core.drag_target.DragEventBase

Properties

  • offset - Pointer position as an Offset.
  • x - Horizontal pointer position relative to target bounds.
  • y - Vertical pointer position relative to target bounds.

Properties

offsetproperty

offset: Offset

Pointer position as an Offset.

xinstance-attribute

x: float

Horizontal pointer position relative to target bounds.

yinstance-attribute

y: float

Vertical pointer position relative to target bounds.