The cursor has entered the drop target boundaries.
The following fields in the DropTargetEvent apply:
- (in)widget
- (in)time
- (in)x
- (in)y
- (in)dataTypes
- (in,out)currentDataType
- (in)operations
- (in,out)detail
- (in,out)feedback
The operations
value is determined by the modifier keys pressed by the user.
If no keys are pressed the event.detail
field is set to DND.DROP_DEFAULT.
If the application does not set the event.detail
to something other
than DND.DROP_DEFAULT
the operation will be set to the platform defined standard
default.
The currentDataType
is determined by the first transfer agent specified in
setTransfer() that matches a data type provided by the drag source.
It is possible to get a DragEnter event when the drag source does not provide any matching data.
In this case, the default operation is DND.DROP_NONE and the currentDataType is null.
The application can change the operation that will be performed by modifying the
detail
field but the choice must be one of the values in the operations
field or DND.DROP_NONE.
The application can also change the type of data being requested by
modifying the currentDataTypes
field but the value must be one of the values
in the dataTypes
list.