Skip to main content

DragWillAcceptEvent

Event payload for flet.DragTarget.on_will_accept.

Inherits: Event

Properties

Properties

acceptinstance-attribute

accept: bool

Whether this target will accept the dragged source.

srcclass-attributeinstance-attribute

src: Draggable = field(init=False)

Source Draggable control resolved from src_id.

src_idinstance-attribute

src_id: Optional[int]

ID of the Draggable source control, if available.