TTkDnDEvent🌶️

class TTkDnDEvent(*, pos: tuple[int, int] = (0, 0), **kwargs)[source]🌶️

Bases: TTkDnD

Drag and Drop event class.

Parameters:

pos (tuple[int,int]) – The position of the mouse cursor relative to the current widget.

Methods🌶️

pos() tuple[int, int][source]🌶️

Returns the position of the mouse cursor relative to the current widget.

Returns:

the position.

Return type:

tuple[int,int]

TTkDnDEvent Attributes🌶️

x

y