Wt  3.3.6
Public Member Functions | List of all members
Wt::WDropEvent Class Reference

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.
 
WObjectsource () const
 Returns the source of the drag&drop operation. More...
 
const std::string & mimeType () const
 Returns the mime type of this drop event.
 
const WMouseEventmouseEvent () const
 Returns the original mouse event.
 

Detailed Description

A class providing details for a drop event.

See also
WWidget::dropEvent(WDropEvent)

Member Function Documentation

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().


Generated on Mon Aug 8 2016 for the C++ Web Toolkit (Wt) by doxygen 1.8.11