Drag and Drop event data
DropEvent
Parameter Descriptions
| Name | Type | Default | Description |
|---|---|---|---|
| drop_type | str | Type of drop. Values are constants DROP_TYPE_TEXT, DROP_TYPE_FILES, DROP_TYPE_ALL, DROP_TYPE_DROP_TYPE_UNKNOWN | |
| element | (sg.Element) | The element object dropped onto | |
| key | str | The key of the element dropped onto | |
| tkdnd_type | str | Type of drop reported by tkinterdnd2 (for debugging or perhaps hacking until a bug gets fixed) | |
| window | (sg.Window) | The window receiving the drop |
Class Properties
This class has no public properties