Skip to main content

DragWillAcceptEvent

Event payload for 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: int | None

ID of the Draggable source control, if available.