LibreOffice
LibreOffice 6.2 SDK API Reference
Public Attributes | List of all members
DropTargetDropEvent Struct Referencepublished

The DropTargetDropEvent is delivered from the drop target to its currently registered drop target listener. More...

import"DropTargetDropEvent.idl";

Inheritance diagram for DropTargetDropEvent:
DropTargetEvent EventObject

Public Attributes

XDropTargetDropContext Context
 The drop target context of the current drag operation. More...
 
byte DropAction
 This value represents the action or actions selected by the user at the time of the drop. More...
 
long LocationX
 The cursor's current x location within the window's coordinates. More...
 
long LocationY
 The cursor's current y location within the window's coordinates. More...
 
byte SourceActions
 This value represents the action or actions supported by the source. More...
 
com::sun::star::datatransfer::XTransferable Transferable
 The transferable object associated with the drop. More...
 
- Public Attributes inherited from DropTargetEvent
byte Dummy
 UNO specification does not allow empty struct definitions. More...
 
- Public Attributes inherited from EventObject
com::sun::star::uno::XInterface Source
 refers to the object that fired the event. More...
 

Detailed Description

The DropTargetDropEvent is delivered from the drop target to its currently registered drop target listener.

It contains sufficient information for the originator of the operation to provide appropriate feedback to the end user when the operation completes.

Member Data Documentation

The drop target context of the current drag operation.

See also
com::sun::star::datatransfer::dnd::XDropTargetDropContext
byte DropAction

This value represents the action or actions selected by the user at the time of the drop.

If more than one action is specified, the XDropTargetListener should raise a dialog to ask the user which action to use.

See also
com::sun::star::datatransfer::dnd::DNDConstants
long LocationX

The cursor's current x location within the window's coordinates.

long LocationY

The cursor's current y location within the window's coordinates.

byte SourceActions

This value represents the action or actions supported by the source.

The transferable object associated with the drop.

See also
com::sun::star::datatransfer::XTransferable

The documentation for this struct was generated from the following file: