|
Wt
3.3.0
|
A class providing details for a drop event. More...
#include <Wt/WEvent>
Public Member Functions | |
| WDropEvent (WObject *source, const std::string &mimeType, const WMouseEvent &mouseEvent) | |
| Constructor. | |
| WObject * | source () const |
| Returns the source of the drag&drop operation. | |
| const std::string & | mimeType () const |
| Returns the mime type of this drop event. | |
| const WMouseEvent & | mouseEvent () const |
| Returns the original mouse event. | |
A class providing details for a drop event.
| WObject* Wt::WDropEvent::source | ( | ) | const |
Returns the source of the drag&drop operation.
The source is the widget that was set draggable using WInteractWidget::setDraggable().
1.7.5.1