主题
DragStartEvent 继承自: Event[EventControlType]
Start payload for recognized drag gestures.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
kind | PointerDeviceType | metadata={'data_field': 'k'} | The kind of the device that initiated the event. |
local_position | Offset | metadata={'data_field': 'l'} | The local position in the coordinate system of the event receiver at which the pointer contacted the screen. |
global_position | Offset | metadata={'data_field': 'g'} | The global position at which the pointer contacted the screen. Defaults to the origin if not specified in the constructor. |
timestamp | Optional[Duration] | None | Recorded timestamp of the source pointer event that triggered the drag event. Could be None if triggered from proxied events such as accessibility. |