Wt  3.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
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.
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 Oct 29 2012 for the C++ Web Toolkit (Wt) by doxygen 1.8.1.2