Skip to content

DragStartEvent 继承自: Event[EventControlType]

Start payload for recognized drag gestures.

属性 ​

名称类型默认值说明
kindPointerDeviceTypemetadata={'data_field': 'k'}The kind of the device that initiated the event.
local_positionOffsetmetadata={'data_field': 'l'}The local position in the coordinate system of the event receiver at which the pointer contacted the screen.
global_positionOffsetmetadata={'data_field': 'g'}The global position at which the pointer contacted the screen. Defaults to the origin if not specified in the constructor.
timestampOptional[Duration]NoneRecorded timestamp of the source pointer event that triggered the drag event. Could be None if triggered from proxied events such as accessibility.

关注我,学习大模型、大数据、Python等热门技术。